Software Engineer Interview Questions

467,266 software engineer interview questions shared by candidates

Two strings were given with numerical characters. I was asked for the count of duplicates and the duplicate characters which are present in both the strings. For eg : 1522 and 5314 has two duplicate characters 5 and 1.
avatar

Software Developer - Trainee

Interviewed at MountBlue Technologies

3.7
Sep 4, 2020

Two strings were given with numerical characters. I was asked for the count of duplicates and the duplicate characters which are present in both the strings. For eg : 1522 and 5314 has two duplicate characters 5 and 1.

- 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

4.1
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 1781 - 1790 interview questions

Glassdoor has 467,266 interview questions and reports from Software engineer interviews. Prepare for your interview. Get hired. Love your job.