Write an algorithm to check if a string has balanced parentheses. What about if brackets [] or braces {} could be used as well and those also had to be balanced?
Software Development Engineer Intern Interview Questions
2,287 software development engineer intern interview questions shared by candidates
Classic Leetcode easy and medium questions
How can you optimize your solution?
Maximum distance between any 2 nodes in a given tree.
Coding question that required binary search
What was a sacrifice that you had to make?
Describe a way of sorting an array
Which project did you take ownership of?
The question were leetcode easy-medium level. The SDE simulation was like game and something new that I ever saw in any interview before.
Implement a queue with two stacks. Followed up with design an implementation of the game battleship (simple 2d array approach was accepted)
Viewing 1791 - 1800 interview questions