Linkedin Software Engineer Interview Questions
Master your tech interview with our curated database of real questions from top companies.
Solve min window & animal conflicts
Question LeetCode 76. Minimum Window Substring: Given strings s and t, return the smallest substring of s that contains every character of t (includin...
Describe challenging teamwork and feedback handling
Behavioral Interview Prompts (Software Engineer, Onsite) Context: You are a software engineer interviewing onsite. Prepare concise answers (1–2 minute...
Design Top K ranking system
System Design: Real-time Top-K from a Large/Streaming Dataset Context You receive a continuous, high-volume stream of events, each referencing an item...
Reverse a linked list
Question LeetCode 206. Reverse Linked List — Given the head of a singly linked list, reverse the list and return the reversed list. https://leetcode.c...
Find lowest common ancestor
Question LeetCode 236. Lowest Common Ancestor of a Binary Tree — Given a binary tree, find the lowest common ancestor (LCA) of two given nodes. Follow...
Count islands and distinct shapes
Question LeetCode 200. Number of Islands LeetCode 694. Number of Distinct Islands https://leetcode.com/problems/number-of-islands/description/ https:/...
Implement an LRU cache with follow-ups
Coding: Implement an LRU Cache and discuss concurrency Design and implement an in-memory Least Recently Used (LRU) cache data structure. The cache sho...
Design a scalable key-value store
System Design: Distributed Key-Value Store Design a distributed key-value (KV) storage service for a large-scale backend system. The service should ex...
Design scalable job scheduler and query dashboard
Design a scalable, fault-tolerant job scheduling system. The system should allow clients to schedule background jobs (for example, sending emails or r...
Introduce yourself and discuss challenges
Behavioral Interview Prompt: 5‑Minute Self‑Introduction + Challenge (STAR) Context You are interviewing for a Software Engineer role and have an HR sc...
Design a scalable calendar system
System Design: Multi-Tenant Calendar at Massive Scale You are designing a multi-tenant calendar platform used by hundreds of millions of users across ...
Design distributed parallel job processing
Design a Distributed System for Parallel Job Execution Context You are asked to design a highly available, horizontally scalable service that executes...
Detect intersection of two linked lists
Given two singly linked lists that may converge to share a common tail, determine whether they intersect and return the first node at which they join....
Explain database transactions and ACID
Database Transactions and ACID under Concurrency Prompt You are working with a relational database that supports transactions and multiple isolation l...
Explain a project and handle ambiguity
Behavioral & Leadership: End-to-End Project + Ambiguous Production Incident You are interviewing for a Software Engineer (Onsite) role. Provide a conc...
Compare heap and stack memory
Compare heap and stack memory. Explain how each is allocated and freed, typical lifetimes of data stored there, access patterns and performance charac...
Determine sanitized palindrome in string
Write a function that determines whether a string is a palindrome after removing non-alphanumeric characters and ignoring case (e.g., punctuation, whi...
Implement map and render to DOM
Build a Vanilla JS map-like Utility and DOM Renderer Context You are working in a basic browser environment with no frameworks or libraries. Implement...
Solve six algorithmic problems
Answer the following independent algorithmic prompts. For each, explain your approach, justify data structures, analyze time/space complexity, and pro...
Differentiate Java final, finalize, finally
Differentiate Java's final, finalize, and finally. Define what final means for variables, methods, and classes and give examples; explain what finaliz...