Software Associate Interview Questions | Glassdoor

Software Associate Interview Questions

630

Software associate interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

How would you reverse a the words in a string? (Be able to defend answer)

4 Answers

String reverse(String s){ length = s.length()-1; s1 = ""; while(length >=0){ s1 += s[length]; length--; } return s1; } //wrote the code in 1 minute, did not test it or walk through it, use at your own risk

I got the other idea of not using a buffer (a better solution) String reverseWithoutBuffer(String s){ if (s.length() == 0 || s.length() == 1){return s;} length = s.length()-1; i = 0; while (i != length){ String s1 = s[i]; s[i] = s[length]; s[length] = s1; i--; length--; } return s; } //did not test it or walk through it, use at your own risk

I mean i++ (not i--), sorry

How to use concurrency to make matrix multiply computation faster? what is the complexity?

3 Answers

Division method without using divide operator

4 Answers

None of the questions were very difficult in and of themselves. They were mostly behavioral, and the hardest part was trying to remember a situation from the past to use as an example.

2 Answers

The interviewer had asked me a time when it was best not to use OOP after spending several minutes praising OOP.

2 Answers

How is allocated memory free'd in C++?

3 Answers

in an auditorium with various filled or empty seats [a boolean array], create a function that returns the best open seat. The best open seat being the one with the most empty seats around it. He said I could email him the answer the next day but if they say that that means you failed pretty much.

1 Answer

What is the difference between an object and a class.

1 Answer

Technical questions were very basic. If you don't know fundamentals then you're screwed before you even get interviewed. HR questions were all name a specific situation where you had xyz problem and steps to resolve. i.e. Name a time when you had to make a group decision and what was the outcome. How did you reach the outcome as a group and how did you contribute individually.

1 Answer

If you have a linked list and it has circle in it then how will you detect

1 Answer
110 of 630 Interview Questions