YourAlly

LinkedIn Principal coding interview questions

These are the 4 coding questions YourAlly has tagged for LinkedIn 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 LinkedIn Principal coding loopPractice LinkedIn coding questions

Trending HashtagsFree to read

Given a stream of post tags with timestamps, return top k tags in the last window_seconds. Input: events, now, window, k Output: tags

3 more coding questions

  1. Degrees of Connection Locked
  2. Interval Join for Sessions Locked
  3. Top-K Feed Candidates Locked

Sign up free to practice all 4

Related pages

More LinkedIn Principal rounds

LinkedIn coding at other levels

Other companies at this level

Company guide

LinkedIn interview guide in Academy