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)
Programmer Intern Interview Questions
716,624 programmer intern interview questions shared by candidates
What is systems engineering?
Write a function to remove repeated spaces from a string (ex: "one two three four" -> "one two three four")
Given a list of coins and the a total amount. Calculate the minimum number of coins can be used to reach the total amount.
Difference between an array list and a linked list.
Examples of teamwork etc. general questions like that
"what do you do if your manager says your code is a piece of sh*t?"
Input a matrix, where every number is greater or equal to the numbers on its right and bottom. Output a sorted array
Given an english sentence how can you tell if it is valid or not. For Eg. "Iworkatuber" is a valid sentence "Iworkatasdf" is an invalid sentence.
Write a class that can take in an endless stream of numbers, one integer at a time, can efficiently store the most recent n numbers and report their average in O(1) time.
Viewing 1501 - 1510 interview questions