Staff Software Engineer - LinkedIn - US

linkedin logo
linkedin
Staff Software EngineerUSOngoing
November 22, 20254 reads

Summary

I recently completed an interview for a Staff Software Engineer role at LinkedIn in the US, which included a coding challenge focused on implementing a Max Stack with specific time complexity requirements.

Full Experience

I recently went through an interview for a Staff Software Engineer position at LinkedIn in the US. The interview started with a quick 5-minute self-introduction, followed by 20 minutes dedicated to behavioral questions. The main technical part involved a coding problem where I had to design and implement a Max Stack data structure ensuring all its core operations, such as push, pop, top, peekMax, and popMax, maintained a worst-case time complexity of either O(1) or O(log n).

Interview Questions (1)

Q1
Max Stack with O(1) or O(log n) operations
Data Structures & Algorithms

Implement a Max Stack data structure where all functions (push, pop, top, peekMax, popMax) operate with a time complexity of either O(1) or O(log n) in the worst case.

Discussion (0)

Share your thoughts and ask questions

Join the Discussion

Sign in with Google to share your thoughts and ask questions

No comments yet

Be the first to share your thoughts and start the discussion!