C Engineer Interview Questions

3,798 c engineer interview questions shared by candidates

You have unordered list of pairs of days numbers - days when hotel visitor arrives and leaves ({1, 4}, {6, 8}, {2, 4}, ...). Find out max number of visitors that lived in this hotel at the same time. If at the same day one visitor leaves hotel and another one arrives, we must assume that on this day only one visitor lived in hotel room.
avatar

C++ Developer

Interviewed at Yandex

4.1
Jul 27, 2018

You have unordered list of pairs of days numbers - days when hotel visitor arrives and leaves ({1, 4}, {6, 8}, {2, 4}, ...). Find out max number of visitors that lived in this hotel at the same time. If at the same day one visitor leaves hotel and another one arrives, we must assume that on this day only one visitor lived in hotel room.

Viewing 1941 - 1950 interview questions

Glassdoor has 3,798 interview questions and reports from C engineer interviews. Prepare for your interview. Get hired. Love your job.