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.
Senior Software C Developer Interview Questions
34 senior software c developer interview questions shared by candidates
What is smart pointer, and explain the benefit of smart pointer? Explain about Stack and Heap memory allocation Explain about protected, private and public variable in diffence class' permission Explain about derived class What is function overloading and function overriding? How important is constructor and desctructor? Give an example how to function call by reference and call by value 3 Algorithm question live coding easy level
Given an integer array and another number, find a pair whose sum is given number. Best solution is to use unordered map <int, int> then use this logic map[sum - a[i]] = a[i]; // O(n) then, for each a[i], if map[a[i]] present then that will be the answer. // O(n)
Regular technical questions during the online coding sessions. Reasons for the application. Questions about career and expectations.
Viewing 31 - 40 interview questions