Intel SDE-3 coding interview questions
These are the 6 coding questions YourAlly has tagged for Intel at SDE-3. SDE-3 is the common India title for this level. YourAlly treats it as Senior, the same level as Google L5, Meta E5 and Amazon L6.
A coding round at a large tech company usually runs 45 to 60 minutes with one or two problems. You write code that runs, test it on your own examples and state its time and space cost. At this level the bar is a correct, tested solution you reach mostly on your own, with the trade-offs said out loud.
Practice a mock Intel SDE-3 coding loopPractice Intel coding questions
First-Fit Contiguous Page AllocatorFree to read
Implement a first-fit allocator over num_pages physical pages. Process alloc and free operations in order and return the start page of each alloc, or -1 if no contiguous run fits.
Input: num_pages = 8, ops = [alloc,alloc,free,alloc,alloc], args = [3,2,0,4,2] Output: [0,3,-1,0]
What a strong answer covers
- Sorted free list with first-fit scan
- Map from allocation start to length for frees
- Coalesces with both neighbours on free
- Discusses fragmentation, best fit or buddy allocation as alternatives
5 more coding questions
- Count Fuse Settings With K Bits Locked
- Minimum Misses With Optimal Replacement Locked
- Priority Interrupt Dispatch Order Locked
- Schedule Dependent Validation Jobs Locked
- Set-Associative Cache Hit Counter Locked
Related pages
More Intel SDE-3 rounds
- System design 4 questions
- Behavioral 4 questions
Intel coding at other levels
- Principal 3 questions
- Senior Principal 3 questions
Other companies at this level
- Adobe SDE-3 7 questions
- Amazon SDE-3 10 questions
- Apple SDE-3 7 questions
- Cisco SDE-3 6 questions
- Google SDE-3 14 questions
- IBM SDE-3 6 questions