Tech Interview Questions

Practice 9,555+ interview questions from top companies including Google, Meta, Amazon, and more. Filter by company, role, and category.

Popular Interview Questions

Interview Questions

Practice the exact questions companies are asking right now.

9.6k Questions 505 Companies08.05.2026
Showing 20 results
Role
Meta logo
Meta
Medium
Software Engineer

Find closest BST value and remove parentheses

Question LeetCode 270. Closest Binary Search Tree Value LeetCode 1249. Minimum Remove to Make Valid Parentheses (follow-up: achieve without using a st...

Coding & Algorithms
13
0
55 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Solve 4 LeetCode algorithm problems

Question LeetCode 636. Exclusive Time of Functions LeetCode 253. Meeting Rooms II LeetCode 314. Binary Tree Vertical Order Traversal LeetCode 215. Kth...

Coding & Algorithms
1
0
7 people solved
Jul 29, 2025
Airbnb logo
Airbnb
Medium
Software Engineer

Design Connect-N winner detector

Question Design a data structure for the Connect-N game: pieces are dropped into a column (occupying the lowest empty cell). Implement move(column, pl...

Coding & Algorithms
22
1
81 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Design prefix-sum function and max stack

Question LeetCode 303. Range Sum Query – Immutable (design a reusable prefix-sum function) LeetCode 716. Max Stack (similar design question) https://l...

Coding & Algorithms
4
0
15 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Solve various LeetCode data-structure questions

Question LeetCode 129. Sum Root to Leaf Numbers LeetCode 2089. Find Target Indices After Sorting Array LeetCode 270. Closest Binary Search Tree Value ...

Coding & Algorithms
16
0
46 people solved
Jul 29, 2025
Salesforce logo
Salesforce
Medium
Software Engineer

Determine minimal substitutions and removals

Question Given a list of words, determine the minimum number of character substitutions required so that, in every word, no two adjacent characters ar...

Coding & Algorithms
19
0
40 people solved
Jul 29, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Count changed nodes in N-ary trees

Question Given two N-ary trees (old and new versions) where each node has a key (string), value (int), and list of children, compute how many nodes ar...

Coding & Algorithms
13
0
45 people solved
Jul 29, 2025
DoorDash logo
DoorDash
Medium
Software Engineer

Determine equality after limited swaps

Question LeetCode 1790. Check if One String Swap Can Make Strings Equal Follow-up: Given two strings, determine if they can become anagrams of each ot...

Coding & Algorithms
10
0
5 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Find largest island area

Question Given a 2D grid of 0s and 1s, find the largest area of a connected group of 1s (island) using 4-directional adjacency; return that area. (Var...

Coding & Algorithms
14
0
21 people solved
Jul 29, 2025
Talroo logo
Talroo
Medium
Software Engineer

Calculate area, flush probability, egg drops

Question Given two quarter-circles inside a 1×1 square (centers at bottom-left and top-right corners), find the exact area of their overlapping region...

Coding & Algorithms
85
0
284 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Compare two string linked lists

Question Given two singly linked lists where each node stores one character as a string, determine whether the sequences of characters represented by ...

Coding & Algorithms
7
0
20 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve array and list algorithms

Question LeetCode 315. Count of Smaller Numbers After Self LeetCode 23. Merge k Sorted Lists Design algorithm for Amazon Locker getPackage (retrieve p...

Coding & Algorithms
5
0
14 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Solve classic LeetCode problems

Question LeetCode 215. Kth Largest Element in an Array LeetCode 249. Group Shifted Strings Variant of LeetCode 56. Merge Intervals extended to 2-D rec...

Coding & Algorithms
7
0
34 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Implement basic calculator

Question LeetCode 227. Basic Calculator II – implement an arithmetic expression evaluator supporting +, -, *, / and integer operands https://leetcode....

Coding & Algorithms
10
0
32 people solved
Jul 29, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

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...

Coding & Algorithms
8
0
35 people solved
Jul 29, 2025
LinkedIn logo
LinkedIn
Medium
Software Engineer

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...

Coding & Algorithms
21
0
54 people solved
Jul 29, 2025
Ramp logo
Ramp
Medium
Software Engineer

Navigate maze via HTTP API

Question Implement a program that repeatedly calls a provided HTTP API which returns the next URL in a maze; continue following the URLs until reachin...

Coding & Algorithms
13
0
51 people solved
Jul 29, 2025
Coinbase logo
Coinbase
Medium
Software Engineer

Implement bank account with cashback

Implement a bank account processor. Given an initial non-negative integer balance B and a list of operations (n up to 1e 5), apply each operation in o...

Coding & Algorithms
3
0
56 people solved
Jul 29, 2025
TikTok logo
TikTok
Medium
Software Engineer

Implement a match-3 board resolver

Question Implement a match-3 board resolver (the core loop of a "candy crush"-style game). You are given an m×n grid of cells. Each cell holds a value...

Coding & Algorithms
3
0
41 people solved
Jul 29, 2025
TikTok logo
TikTok
Medium
Software Engineer

Format messages with paginated suffixes

You are given a message string s and an integer width w. Split s into multiple chunks, preserving character order, and append a suffix "i/n" to each c...

Coding & Algorithms
5
0
39 people solved
Jul 29, 2025