I applied through the company portal for a Senior Software Engineer role on the GPU MODS teams. I received an interview call from HR and a screening round was scheduled. The focus area was C and OS.
Round 1
The interviewer asked 2 coding questions:
- Bit manipulation: given a 32-bit integer, swap the 4 bits of every byte. For example, 0xABCDEFAB becomes 0xBADCFEBA.
- Reverse a linked list in groups of size K.
Then they asked OS and C questions about:
- volatile, const and const volatile
- system calls
- interrupts
- synchronization techniques
- Mutex vs Semaphore
- the Diamond problem
Round 2
The second round was scheduled next, with the focus areas coding and my resume. It had 4 coding questions:
- They shared a code snippet and asked me to identify the errors and debug it. It had these issues: returning a local array, out of bound array access, an infinite loop and an incorrect answer computation.
- Delete a node from the end of a linked list.
- Find the repeated character that occurs first in the string. For example, adgfdcbbgf gives d, abccba gives a, and abccdefff gives c.
- Find the smallest subarray with a sum greater than a given sum (a two pointer problem).
I was rejected. My advice to others would be to focus on C, bit manipulation, linked lists, OOP concepts and OS.
Discussion
Loading comments…