YourAlly

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

  1. Count Fuse Settings With K Bits Locked
  2. Schedule Dependent Validation Jobs Locked

Sign up free to practice all 3

Related pages

More Intel Senior staff rounds

Intel coding at other levels

Other companies at this level