LinkedIn Onsite Interview Experience

LinkedIn | Software Engineer | Onsite

Timeline: 2026(Jul - Sep) • Fulltime • NewGrad • :hourglass_not_done: Waiting for result


Explore a detailed account of a LinkedIn onsite interview for a Software Engineer role, covering coding tasks, AI collaboration, and system design discussions.

Interview Questions

Fibonacci Tree Path Calculation Using Preorder Numbering

Given a tree, calculate the number of distinct paths from the root to all leaves.

Difficulty: Medium | Reference: LC-123 | Tags: DFS, Tree

Tree Distance Sum Problem

Given a tree, find the sum of distances from each node to all other nodes.

Difficulty: Hard | Reference: LC-456 | Tags: BFS, Tree