LinkedIn Interview Experience – Rejected After Round 1 (SWE Role, 2025)
Company: LinkedIn
Role: software engineer
Interview Stage: Phone Screen
Location: unknown
Year: 2025
Original Post Content:
Hey everyone,
I recently had the chance to interview with LinkedIn for a software engineering role, and I wanted to share my experience to help others prepare.
📅 Process:
The recruiter reached out for a total of 5 rounds — 2 technical, 2 system design, and 1 behavioral.
Unfortunately, I was rejected after the first technical round.
Round 1 Details:
Two coding problems were asked:
1️⃣ Locker Problem:
There are 100 lockers, all initially closed. You toggle the state of lockers on every i-th pass (e.g., on the 1st pass toggle all, on the 2nd toggle every 2nd, etc.).
Which lockers remain open in the end?
Solution: Lockers with perfect square numbers remain open.
Complexity: O(√n)
2️⃣ Phone Keypad Matching Problem:
Given a phone number and a list of words, return which words correspond to the same number using classic T9 letter mapping.
Example:
Input: 54653346, [careers, linkedin, hiring, interview, linked]
Output: [linkedin]
Follow-up: Optimize using pre-computation / hashmap.
I wrote a working and optimal solution using a map of letters to digits, handled edge cases, and discussed time complexities.
However, I got feedback that I didn’t go into the pre-computation optimization, which led to the rejection.
My Take:
The interview experience was smooth and the questions were interesting. However, I felt there was a bit of a gap in how the interviewer conveyed what he wanted. During the session, I followed the direction and hints given, and my logic, implementation, and complexity analysis were all sound.
The feedback later mentioned a missing “pre-computation” step, but that specific optimization wasn’t discussed during the round. Given the 45-minute window, I focused on solving the problem efficiently within the scope we talked about.
Overall:
It was a valuable experience — I learned how differently interviewers might expect you to reason, and that clarity of expectations matters as much as correctness.
Posting this here in case it helps others prepare!
#leetcode #interviewexperience #linkedin #dsa