You have 25 horses, what is the minimum number of races you can find the top 3. In one race you can race 5 horses, and you don't have a timer.
Linux Kernel Engineer Interview Questions
56 linux kernel engineer interview questions shared by candidates
Write a shortest string copy function.
Print last n nodes of a linked list you only have pointer to Head
Write an algorithm to sort an array of integers in O(n) time?
When does the control passes from user mode to kernel mode in a Linux System?
How do you check if 2 buffers overlap?
Whats is Stack overflow attack??...then he gave me a scenario where there was a open source code at a server and you have your piece of code at that server. You as a client are allowed to invoke a method which takes in a array as a parameter which is not checked for overflow validation. I had to induce a buffer overflow attack and make the method to pass control to my piece of code in the server.
will you make sure in C to not include a header file which you have already included??
Write a shortest string copy function.
In a multiprocessor system, how will the L1/L2 caches (non-shared) know about the consistency of the shared data? (I was given a scenario which meant this.)
Viewing 1 - 10 interview questions