Member technical staff, software interview questions shared by candidates
How many race heats are needed to find the 3 fastest pinewood derby cars out of a field of 8, if only 4 cars can run at a time (assuming that every car will always run the way/speed and each lane is exactly equivalent)?
Each heat rules out 1 car (that cannot be one of the 3 fastest).
so is the answer 4 heat 1 (first 4 car) + 1 (4 second set) + 1( Top 2 from first + Top 2 from second set) + 1 (3 car heat among the 3rd placed car)
Only two races of four cars in each. Get the times of all cars and sort them. You don't need any more races because the times will be the same in subsequent races. :)
Nothing unexpected, just a question about cloning a linked list with an arbitrary pointer and to find an element in a matrix with elements sorted along the columns and rows.
1) Create binary tree from pre order and in order traversals 2) A question regarding dependency management (It was big use case description) which could be solved by two stacks 3) Graph traversal 4) Linked List node reversal of alternative node 1->2->3->4->5->6 would become 2->1->4->3->6->5
2 questions straight out of Cracking the coding interview (2 dimensional array and stack) Design a hash map. Difference between mutex and semaphore. Explain memory management and scheduling using a small program as example (in depth OS fundamentals). Threads, process, stacks, heaps - what is the relationship among them. 1 hour of questions only on pointers (eg. structure pointers, function pointers, incrementing and decrementing pointers) Using dynamic memory allocation flatten a 2 dimensional array into a single dimensional array. Row wise and column wise. (Again pointer increment and decrement) Questions on checkpointing and disaster recovery. Difference between a spin lock and a mutex. Serialize a binary tree.
See Interview Questions for Similar Jobs
- Software Engineer
- Member of Technical Staff
- Senior Software Engineer
- Software Developer
- Software Development Engineer
- Senior Member of Technical Staff
- Staff Engineer
- Software Engineer Intern
- Staff Software Engineer
- Software Engineer III
- Principal Software Engineer
- QA Engineer
- Software Engineering
- Systems Engineer
- Senior Software Development Engineer
- Software Development Engineer II