Design a data structure where insertion, deletion, data access and get random element are all done in O(1), i.e., constant time. (Without using STL or Hash tables)
Software Development Engineer Interview Questions
32,835 software development engineer interview questions shared by candidates
Many sticks with length, every time combine two, the cost is the sum of two sticks' length. Finally, it will become a stick, what's the minimum cost?
One of the question was on Designing & Code a TTL Cache with some modifications
Give a deck of card, calculate total number of point that is closes to 21. ex A,A,J = 12 , J,J,A,2 = 23 A, 2 = 13
Leetcode
Bar-raiser was difficult and unexpected (to me) as I'm from embedded application dev background and haven't dealt with such scenario's.
Given an array, return the nth largest.
Write a function to find a substring in a string. Test your code, write the test cases.
In my interview the most challenging question was: How to get the 3rd element in a singly linked list, if you you the last one.
Given a value and an array of integers, find if there are two integers in the array that add up to the value.
Viewing 191 - 200 interview questions