Give 2 coding solutions on returning an array by removing duplicates. One solution with O(n^2) and the other Linear.
Engineer Interview Questions
1,136,958 engineer interview questions shared by candidates
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.
Reverse a linked list in place
Write a function in C/C++ that returns the number of zeros contained in the factorial of the number that is passed to it.
Find the lowest common ancestor for BST
How would you modify a file as another user besides using su/sudo?
Given a list of integers that fall within a known short but unknown range of values, how to find the median value?
Write a Square Root function for a computer without floating point calculations
Write a routine that does secret santa in O(N) time.
Given a very long string composed of numbers as characters, find the four character substring that has the largest multiple. For example, given the string "809723", the two char substring with the largest multiple is "97", having a multiple 9*7 = 63.
Viewing 1991 - 2000 interview questions