Junior C Developer Interview Questions

4,382 junior c developer interview questions shared by candidates

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?
avatar

C++ FX

Interviewed at Bloomberg

4
Mar 23, 2015

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?

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
avatar

C++ Developer

Interviewed at think-cell

4.4
Apr 11, 2023

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

Glassdoor has 4,382 interview questions and reports from Junior c developer interviews. Prepare for your interview. Get hired. Love your job.