given 2 unsigned ints a and b, return 1 unsigned int = a/b, rounded to nearest int without float operation
Engineer Interview Questions
1,136,810 engineer interview questions shared by candidates
Implement the functions for a stack and function getMinimum() all with O(1) complexity.
Print a binary search tree. Each level on a new line.
How can one implement a queue with only a stack implementation?
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))
Viewing 1811 - 1820 interview questions