Easy data structure, measure nothing
C Interview Questions
5,483 c interview questions shared by candidates
Implement an instance function in the template class.
There were no questions because the process was fully automated.
Implement a small (albeit complex) operation on a templated data structure
Can't tell due to NDA.
Implementation of the function for a custom structure
They asked me to solve a classic ascending-decreasing vector problem
create this function: // Assign value val to interval [keyBegin, keyEnd). // Overwrite previous values in this interval. // Conforming to the C++ Standard Library conventions, the interval // includes keyBegin, but excludes keyEnd. // If !( keyBegin < keyEnd ), this designates an empty interval, // and assign must do nothing. void assign( K const& keyBegin, K const& keyEnd, V const& val ) {
You're not allowed to make public the content of the exercise they send to you. But on average they are hard problems on leetcode.
What are constructors and why you use them in a class? What are classes and what types of classes are in C++? Many many more theoretical questions of OOP and C++.
Viewing 3711 - 3720 interview questions