1. Sort array with ones and zeros. This was the most "complicated" part. 2. Complexity of insert/delete/find in double linked list, binary tree. Complexity of sort of array of numbers, of sorted array of numbers. 3. Questions like what order ctors/dtors work. 4. Some crap with 2 classes having static shared ptr for kernel object, where kernel was class poorly written. Like what's wrong with the code was the question. 5. int x; int &j; j=x; What's wrong? Reference should be assigned to a variable when declared actually. Other questions very primitive.
C Developer Interview Questions
3,501 c developer interview questions shared by candidates
how do you work with deadlines?
How did you solve the problem in your application?
Describe the listed communication protocols: spi, i2c.
Basic c++ concepts
The questions themselves deserve a separate paragraph. The interview was split to several quizzes: hardware design, rtos-related, c, c++, linux, security. Majority of the questions was single-answer test questions. Few open questions to write some snippet. The hardware and security part was quite ok. The rest was not. The C/C++ questions were based on a code snippets prepared exactly for interview purpose. So, there were some crazy-looking constructs like 3[arr] + (arr+1)[1], !!!arr, &(*(&arr[1]+1)+2). Things that you should never see on production. I don't see a point of asking such questions. This kind of questions doesn't check if you're good engineer or not. There were no good coding practices questions, no software design-related. All C++ questions were pre-C++11.
Online Puzzles
What was your role in last project? Test on undergraduate level knowledge (C, C++, Data structure, Algorithims, OS, Linux, computer architecture) Hand-written coding test
basic c++ concepts and normal resume questions
Logical Puzzles from geeks for geeks For cpp do well structures
Viewing 2881 - 2890 interview questions