Find distance between two nodes in a binary search tree.
Software Intern Interview Questions
20,232 software intern interview questions shared by candidates
In the 20 minute debugging test I just had to find logical errors in sections of code they gave
leetcode Single Number
First round - code debugging, 2 coding problems, reasoning questions.
I'm not allowed to divulge specific questions, they do obviously ask questions related to their Leadership Principles.
Five Leetcode questions: Round-1: 1. Find the depth of a binary tree. 2. Implement a stack with push, pop, top and getMin() functions in constant time. 3. Check if two strings are anagrams or not. Very optimal solutions required instead of brute-force. Round-2: 1. Partition Lables 2. Maximum value between two nodes in a binary search tree.
How to handle collisions in a hash table
I did not expect the interviewer would ask some DP question during phone interview stage and the collabedit is horrible.
The question was to fin the number of time an array was schifted. For example: [1 2 3 4 5 ] is 0 because it is in order [7 5 6] is 1 because it should be [5 6 7] [7 8 9 2] is 1 too.
What is functional programming?
Viewing 1881 - 1890 interview questions