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.
Kernel Interview Questions
123 kernel 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?
How would you design an algorithm that sorts numbers in a limited set 0..100?
Implement kernel APIs that other kernel component can use to get hi res timers.
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.
Average difficult, not expected Question
Viewing 1 - 10 interview questions