Construct a LRU cache class with get and put methods.
Software Intern Interview Questions
17,721 software intern interview questions shared by candidates
Return if 2 elements in an array sum up to a given number.
Find distance between two nodes in a binary search tree.
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.
Viewing 1681 - 1690 interview questions