You have 5 horses all racing. There are 10 sensors that measure each time the horse crosses the line. The client wants to be able to ask the question, what are the fastest horses in order based on time stamp. What data structures would you use, and how would you update them so that you can easily ask: give me top 5 horses as of now and return those in the proper time stamp order, fastest to slowest. Which data structures to use, and how to optimize for both updates and the question asked earlier?
Junior C Developer Interview Questions
4,382 junior c developer interview questions shared by candidates
What is the observer design pattern, how would you approach it in C++
OOPs concepts - Inheritance, Polymorphism, Constructors, Destructors
Asked about my experience. Asked some competency based questions.
Core ingredient of communication?
Virtual functions internal implementation
How would you pass an array to a stored proc?
Interval map specifications (and some implementations) can be found online, the primary roadblock is optimizing it to pass their time check.
You can gather sufficient information from other interview reports.
Due to the NDA candidates are required to check before the start of the test, I cannot go into explicit detail about the question but it involved the implementation of a function for a template class; following specifications outlined in the question
Viewing 641 - 650 interview questions