Software Interview Questions

551,241 software interview questions shared by candidates

- Describe in detail your most involved and difficult project you've done in the past. - Difference between objects and classes in C++. - You're given two arrays of strings. Determine if all the strings in the first array are present in the second array, and return a boolean. Now assume both arrays have a million elements each. How would your answer change to improve efficiency?
avatar

Software Engineer Intern

Interviewed at SpaceX

3.8
Feb 5, 2017

- Describe in detail your most involved and difficult project you've done in the past. - Difference between objects and classes in C++. - You're given two arrays of strings. Determine if all the strings in the first array are present in the second array, and return a boolean. Now assume both arrays have a million elements each. How would your answer change to improve efficiency?

You are given an alphanumeric string. Complete the function sortSegments that will segment the string into substrings of consecutive letters or numbers and then sort the substrings. For example, the string "AZQF013452BAB" will result in "AFQZ012345ABB". The input letters will be uppercase and numbers will be between 0 and 9 inclusive.
avatar

Software Developer

Interviewed at AQR Capital Management

3.9
Jun 21, 2017

You are given an alphanumeric string. Complete the function sortSegments that will segment the string into substrings of consecutive letters or numbers and then sort the substrings. For example, the string "AZQF013452BAB" will result in "AFQZ012345ABB". The input letters will be uppercase and numbers will be between 0 and 9 inclusive.

Expectation for coding Questions: Must be sort of analytical questions testing knowledge of DS/Algos and problem-solving skills, that could be done in 65-70 minutes. Reality: Problem Solving tricky questions, I would say they are not really checking candidate's Data Structures knowledge. Standard DS/Algos can be used to come up with the sol, but again coming up with the optimised sol. is the challenging part, I feel. I though it could only be done in the given time frame with most optimised approach, only if candidate had gone through that kind of question in the past. Brute Force or Semi-optimised approach can be thought of, but coming up with most optimised approach in the given time frame, needs some serious practice and some luck too😅. According to me, either questions' difficulty level should be reduced or time can be increased.
avatar

Software Engineer II

Interviewed at Tower Research Capital

4.1
Sep 27, 2021

Expectation for coding Questions: Must be sort of analytical questions testing knowledge of DS/Algos and problem-solving skills, that could be done in 65-70 minutes. Reality: Problem Solving tricky questions, I would say they are not really checking candidate's Data Structures knowledge. Standard DS/Algos can be used to come up with the sol, but again coming up with the optimised sol. is the challenging part, I feel. I though it could only be done in the given time frame with most optimised approach, only if candidate had gone through that kind of question in the past. Brute Force or Semi-optimised approach can be thought of, but coming up with most optimised approach in the given time frame, needs some serious practice and some luck too😅. According to me, either questions' difficulty level should be reduced or time can be increased.

Viewing 2271 - 2280 interview questions

Glassdoor has 551,241 interview questions and reports from Software interviews. Prepare for your interview. Get hired. Love your job.