YourAlly

LinkedIn Staff coding interview questions

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

Top-K Feed CandidatesFree to read

Given candidate ids with scores, return the top k ids by score descending, ties by id ascending.

Input: scores = [[id,score]...], k Output: ids

3 more coding questions

  1. Degrees of Connection Locked
  2. Interval Join for Sessions Locked
  3. Trending Hashtags Locked

Sign up free to practice all 4

Related pages

More LinkedIn Staff rounds

LinkedIn coding at other levels

Other companies at this level

Company guide

LinkedIn interview guide in Academy