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)
Desarrollador Java Senior Interview Questions
751,555 desarrollador java senior interview questions shared by candidates
Difference between an array list and a linked list.
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.
Examples of teamwork etc. general questions like that
Give 2 coding solutions on returning an array by removing duplicates. One solution with O(n^2) and the other Linear.
Given an array whose elements are sorted, return the index of a the first occurrence of a specific integer. Do this in sub-linear time. I.e. do not just go through each element searching for that element.
Write a function in C/C++ that returns the number of zeros contained in the factorial of the number that is passed to it.
print out the powset of a set. use any programming language you want.
Write a function that will return the second longest string in a list of strings. You have to do a single pass on the list.
Viewing 1491 - 1500 interview questions