Implement the code in C++
C Developer Interview Questions
3,509 c developer interview questions shared by candidates
Implement one operation of STL-based data structure.
write a function operating on a custom data structure. The problem is interesting, however, the description is lacking in so many ways. It feels like they intentionally use inaccurate wording.
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
Implement an instance function in the template class.
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.
Viewing 2331 - 2340 interview questions