YourAlly

Intel Principal coding interview questions

These are the 3 coding questions YourAlly has tagged for Intel at Principal. Principal is the common India title for this level. YourAlly treats it as Staff (E6), the same level as Google L6, Meta E6 and Amazon L7.

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 interviewers also expect clean code quickly and edge cases you raise before they do.

Practice a mock Intel Principal coding loopPractice Intel coding questions

Schedule Dependent Validation JobsFree to read

Validation jobs have durations and dependencies and run on k identical test machines. Using a longest-ready-job-first policy, return the time the last job finishes, or -1 if the dependencies contain a cycle.

Input: durations = [2,3,4,1], deps = [[0,2],[1,2],[2,3]], k = 2 Output: 8

What a strong answer covers

  • Kahn-style in-degree tracking including duplicate edges
  • Ready max-heap and running min-heap event loop
  • Handles simultaneous finishes and zero durations
  • Cycle detection by counting completed jobs
  • Mentions critical-path priority as a better heuristic

2 more coding questions

  1. Count Fuse Settings With K Bits Locked
  2. Minimum Misses With Optimal Replacement Locked

Sign up free to practice all 3

Related pages

More Intel Principal rounds

Intel coding at other levels

Other companies at this level