.. few more
C Interview Questions
5,483 c interview questions shared by candidates
Asked a lot about data structures, Lists vs. Vectors, Hash-tables vs. Hash-maps - the main differences between them and when they should be used. Asked about TCP and UDP protocols.
the level of questions are easy if you have the basic knowledge of c++ .
Data structures,threads,oops concepts.
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.
Implement queue using stacks.
You have a list of projects. Each project have ID, runtime and list of sub-projects. Project could be started only after all its sub-projects would be done. Different projects could have similar sub-projects (1 or more). Different projects can be performed simultaneously. Calculate the minimum time for which all projects will be completed.
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.
write a function that given a binary tree , return the maximum number of distinct values that aeeear on the path starting the root
Experiencia
Viewing 2851 - 2860 interview questions