Software Engineer Summer Intern Interview Questions

12,244 software engineer summer intern interview questions shared by candidates

Interviewer pasted a segment of code on collabedit and asked why after pushing a string onto a stack why the pop operation could have never been reached. He folllowed up by asked how I could assure that the pop operation would run. He also asked when you would use try catch statements
avatar

Software Engineer Intern

Interviewed at Yahoo

4
Mar 6, 2013

Interviewer pasted a segment of code on collabedit and asked why after pushing a string onto a stack why the pop operation could have never been reached. He folllowed up by asked how I could assure that the pop operation would run. He also asked when you would use try catch statements

Please complete this question on your preferred IDE and send me back a link with your code and answer. # In this problem, you are given a set of house listings and your job is to return a list of the most recent listing of each address. # There could be multiple listings of the same address, and you must ensure your ouput contains only one listing per address (the most # recent one). A listing contains a name, address, and date. ​ # For example: ​ # Input: # L4, 123 kings road,2022 # L1, 123 kings road,2020 # L2, 20 queen road,1990 # L3, 20 queen road,1992 # Expected Output: # (L4, L3) ​ # In the above example, there are two listings with the same address "123 kings road", and two listing with the same address "20 queen road". # The output includes the most recent listing with the address "123 kings road" (2022 > 2020) which is L4, and the most recent listing with # the address "20 queen road" (1992 > 1990) which is L3, hence (L4, L3).

Full stack developer intern

Interviewed at KnockNow

4
Apr 7, 2023

Please complete this question on your preferred IDE and send me back a link with your code and answer. # In this problem, you are given a set of house listings and your job is to return a list of the most recent listing of each address. # There could be multiple listings of the same address, and you must ensure your ouput contains only one listing per address (the most # recent one). A listing contains a name, address, and date. ​ # For example: ​ # Input: # L4, 123 kings road,2022 # L1, 123 kings road,2020 # L2, 20 queen road,1990 # L3, 20 queen road,1992 # Expected Output: # (L4, L3) ​ # In the above example, there are two listings with the same address "123 kings road", and two listing with the same address "20 queen road". # The output includes the most recent listing with the address "123 kings road" (2022 > 2020) which is L4, and the most recent listing with # the address "20 queen road" (1992 > 1990) which is L3, hence (L4, L3).

Viewing 1471 - 1480 interview questions

Glassdoor has 12,244 interview questions and reports from Software engineer summer intern interviews. Prepare for your interview. Get hired. Love your job.