YourAlly

Intel Senior coding interview questions

These are the 6 coding questions YourAlly has tagged for Intel at Senior. On the YourAlly ladder this is 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 Senior coding loopPractice Intel coding questions

Count Fuse Settings With K BitsFree to read

A fuse configuration is valid only if exactly k fuses are blown. Count the integers x with lo <= x <= hi whose binary form has exactly k set bits.

Input: lo = 0, hi = 7, k = 2 Output: 3

What a strong answer covers

  • Prefix difference count(hi) - count(lo - 1)
  • Bitwise digit walk adding binomial coefficients
  • Accounts for n itself at the end of the walk
  • Handles k = 0, lo = 0 and overflow in 64-bit languages

5 more coding questions

  1. First-Fit Contiguous Page Allocator Locked
  2. Minimum Misses With Optimal Replacement Locked
  3. Priority Interrupt Dispatch Order Locked
  4. Schedule Dependent Validation Jobs Locked
  5. Set-Associative Cache Hit Counter Locked

Sign up free to practice all 6

Related pages

More Intel Senior rounds

Intel coding at other levels

Other companies at this level