LinkedIn Interview Experience SSE/SDE-2 Infra BackEnd team July 2024
Time to give back to the community
Current Designation :SDE-2
Years of experience : 5.5
Applied through LinkedIn and got a call from recuriter in 2-3 days.
Round 1: Elimination Round - Problem Solving
Technical Problem:
https://leetcode.com/problems/h-index-ii/description/
Initially proposed linear solution
Optimized to binary search approach as requested
Technical Concepts Assessed:
Spring Boot: Dependency injection principles
Operating Systems:
Semaphore operations
Paging mechanisms and page faults
Process vs Thread differences
System calls fundamentals
Key Insight: Data structure/problem-solving carries highest weight in this round.
Loop in Interviews
Round 1: Data Structures & Algorithms
Problems:
https://leetcode.com/problems/paint-house/description/
https://leetcode.com/problems/insert-delete-getrandom-o1/description/?envType=study-plan-v2&envId=top-interview-150
Expectation: Complete both problems within time (no execution required)
Round 2: DSA
Problems:
https://leetcode.com/problems/find-leaves-of-binary-tree/description/ (Full implementation)
https://leetcode.com/problems/all-oone-data-structure/description/(Approach discussion only)
Round 3 : Concurrency Round
https://leetcode.com/problems/design-bounded-blocking-queue?envType=problem-list-v2&envId=concurrency
The requirement was to solve the problem using plain threads using thread notify and thread wait , not sempahores or mutexes, no executor service.
Also to handle grace shutdown of your blocking queue.
In grace shutdown you basically check if any thread is doing any task, when all the threads task are done, then you shutdown the threadpool
Round 3: High-Level Design
Problem: Design LinkedIn's trending shared articles system (analogous to Twitter trending)
Challenge Point:
Struggled with caching layer implementation details
Couldn't provide optimal caching implmentation
Round 4: Hiring Manager Round
Discussion Phases:
Project Deep Dive:
Detailed walkthrough of current systems
Architecture decisions and challenges
Design Problem:
"Design a system to enrich event data from multiple services for analytics processing"
My Approach:
Proposed centralized Hive database solution
Services would periodically dump data
Events will be enriched using the data from Hive
Final Outcome
Received negative feedback primarily due to:
Suboptimal HLD performance (caching strategy)
Limited scalability in HM round design solution


