Intel Senior staff coding interview questions
These are the 3 coding questions YourAlly has tagged for Intel at Senior staff. On the YourAlly ladder this is Senior staff, the same level as Google L7, Meta E7 and Amazon L8.
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 coding is often a smaller part of the loop, but the bar for clarity and speed stays high.
Practice a mock Intel Senior staff coding loopPractice Intel coding questions
Minimum Misses With Optimal ReplacementFree to read
Given a fully associative cache with capacity entries and a known access trace, return the minimum number of misses any replacement policy can achieve.
Input: capacity = 2, accesses = [1,2,3,1,2] Output: 4
What a strong answer covers
- Evict farthest next use, with a short optimality argument
- Backward pass to precompute next-use indices
- Max-heap with lazy deletion of stale entries
- Handles capacity 0 and keys never reused
- O(n log n) time
2 more coding questions
- Count Fuse Settings With K Bits Locked
- Schedule Dependent Validation Jobs Locked
Related pages
More Intel Senior staff rounds
- Behavioral 3 questions
Intel coding at other levels
Other companies at this level
- Adobe Senior staff 4 questions
- Airbnb Senior staff 4 questions
- Amazon L8 6 questions
- Anthropic Senior staff 5 questions
- Apple Senior staff 7 questions
- Cisco Senior staff 3 questions