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
- First-Fit Contiguous Page Allocator 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 Senior rounds
- System design 4 questions
- Behavioral 4 questions
Intel coding at other levels
- Staff 3 questions
- Senior staff 3 questions
Other companies at this level
- Adobe Senior 7 questions
- Airbnb Senior 4 questions
- Amazon L6 10 questions
- Anthropic Senior 6 questions
- Apple Senior 7 questions
- Cisco Senior 6 questions