How can one implement a queue with only a stack implementation?
Engineers Interview Questions
842,925 engineers interview questions shared by candidates
You are to write pseudo code O(n) algorithm to maximize a one day trade. You will have 5 days of predicted prices and your algorithm must choose what day to buy and sell to maximize gains.
Name three states a process can be in.
Boggle game - given a board of letters (2d array) and a word (string), return whether the word exists in the board. From each letter you can move in all directions (including diagonals), but you cannot use the same letter twice.
why the cover of a gutter man hole is circular in shape?
Implement memcpy.
They asked me to do a recursive function of a powerset (Ex. powerset(a,b,c) = ((),(a),(b),(c),(a,b),(a,c),(b,c))
write a function which returns a fibonacci number for a given number n.
Some questions on graph theory and then I was asked to write a function to check if a graph was bipartite.
You are driving on a racetrack. The first lap you averaged 60mph. How fast do you have to drive on the second lap to average 120mph on both laps?
Viewing 1531 - 1540 interview questions