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,389 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?
1)diamensions of bigger cuboid were given and you asked to find out number of smaller cubes can be formed ( diamensions given).
Find the output of the below prorams.
Which would you choose. To get the drawing perfect and miss the delivery date. Or, get it correct with some error and meet the delivery date.
Viewing 641 - 650 interview questions