what is difference between hash map and hash table?
Software Intern Interview Questions
20,198 software intern interview questions shared by candidates
It was a question where given an expression in a string with parentheses, we must find out the result of that expression and print it out using BODMAS Input : "7+(8-6)*4" Output: 15
How would you go about finding the kth to last element in a singly linked list?
How would you insert an element into a singly linked list, given that there is also another thread that is iterating over it. (non-blocking)
One of their questions was the Fizz-Buzz coding question
How would you find the n-th greatest element in a binary search tree?
Find the average value of a binary tree both recursively and iteratively. Explain why iteratively may be preferred over recursively.
What is your greatest weakness?
The good old, what are a couple of your greatest weaknesses. A very typical interview question that always catches myself, and I'm sure many others off guard. I had to take a few moments to think of this one, as I didn't deliver the predictable "I work to hard".
The technical questions were Medium to Hard level. The question in my first interview was of Dynamic Programming and a mix of decreasing subsequences. The second round had a question on Binary Search, as expected the Binary Search solution wasn't obvious at first.
Viewing 331 - 340 interview questions