LinkedIn SDE Onsite Interview Experience: 4 Rounds with Coding and Behavioral Questions
Question Details
There were four rounds in total, two coding rounds, with two questions per round. The coding round gave two positive sorted lists; find the smallest k pairs of products. Some basic knowledge questions
Full Details
There were four rounds in total, two coding rounds, with two questions per round. The coding round gave two positive sorted lists; find the smallest k pairs of products. Some basic knowledge questions were asked; it seems the questions vary depending on each person's resume. I was asked some basic programming language questions. The coding round was LeetCode 235. Design a data structure where add, remove, and remove random operations are all O1.
Solution: a dict of keys to a set and a list. sd: metric system behavioral I failed, please give me some points!
About This Question
This is a reported interview question from a linkedin interview for a swe role during the behavioral round reported in 2025.
Difficulty rating: Easy