Google Interview Questions.
Interview Type: Telephonic
Interview Duration: 30 mins
1. What is the default signal generated by kill command ?
2. What is a sticky bit ?
3. Given a path, which system call returns the information about the inode ?
4. Given 10000 16 bit integers, and unlimited memory, what is the quickest way to count the total number of bits set in the array.
5. Given four operations
a. Read from CPU reg
b. Disk Seek
c. Context switch
d. Read from main memory
Rank them in order of speed.
6. Average case and worst case running time for quick sort.
7. What is the opposite of malloc in C.
8. Value of "a"[3 >> 1]
Interview Type: Telephonic
Interview Duration: 30 mins
1. What is the default signal generated by kill command ?
2. What is a sticky bit ?
3. Given a path, which system call returns the information about the inode ?
4. Given 10000 16 bit integers, and unlimited memory, what is the quickest way to count the total number of bits set in the array.
5. Given four operations
a. Read from CPU reg
b. Disk Seek
c. Context switch
d. Read from main memory
Rank them in order of speed.
6. Average case and worst case running time for quick sort.
7. What is the opposite of malloc in C.
8. Value of "a"[3 >> 1]