McAfee Interview Report
- 0of 0 votes
AnswersGiven two linked lists, which are intersecting some where the shape can be L,Y or I, how will you find the intersection point?What will be time complexity.Assuming worst case how will you reduce the complexity.After having attempted this how will you convert above structure into X?
- McAfee July 11, 2011| Report Duplicate | Flag | PURGE
McAfee Software Engineer / Developer Algorithm - 0of 0 votes
AnswersOn some architecture stack grows upwards and on some architecture stack grows downwards.How will you find out whether the stack is growing upwards or downwards?
- McAfee July 11, 2011| Report Duplicate | Flag | PURGE
McAfee Software Engineer / Developer Computer Architecture & Low Level - 0of 0 votes
AnswersDifferenced between fork(),pthread() system calls.What is vfork().What is a file system how does kernel stores the data structure with respect to file system,he hinted to super blocks I was not much aware of super blocks etc in a file system,then I attempted for VFS kind of thing.
- McAfee July 11, 2011| Report Duplicate | Flag | PURGE
McAfee Software Engineer / Developer Linux Kernel - 0of 0 votes
AnswerWhat is the mechanism for open(),read(),write() system calls how does the kernel implements them and what happens when a user space program uses
- McAfee July 11, 2011
open(file,r) like this with arguments,how does kernel implement it.| Report Duplicate | Flag | PURGE
McAfee Software Engineer / Developer Operating System - 0of 0 votes
AnswersWhat is the difference between spin lock, mutex,semaphore.I was clear on this answer but then he asked for a real example of mutex.
- McAfee July 11, 2011
I answered for busy waiting condition in spin lock,mutex there is no context switch.Then he said about pthread_mutex() call defined for using a mutex.Another program in which you do a fork and have a child process where are you going to use pthread_mutex in parent or in child.What is the difference between parent and child process?| Report Duplicate | Flag | PURGE
McAfee Software Engineer / Developer Operating System