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

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
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
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
Airbnb logo
Airbnb
Medium
Software Engineer

Review Python geodata code

Question You are given a Python codebase that performs geolocation data processing. Conduct a thorough code review: identify readability, correctness,...

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

Implement tree ops and LRU cache

Question Implement set(index) and clear(index) for the leaves of a full binary tree initially filled with 0s, where a parent node becomes 1 only when ...

Coding & Algorithms
19
0
48 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Solve LeetCode string and list problems

Question LeetCode 767. Reorganize String LeetCode 23. Merge k Sorted Lists LeetCode 138. Copy List with Random Pointer https://leetcode.com/problems/r...

Coding & Algorithms
12
0
44 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
Meta logo
Meta
Medium
Software Engineer

Solve LeetCode array & stream problems

Question LeetCode 346. Moving Average from Data Stream LeetCode 249. Group Shifted Strings LeetCode 163. Missing Ranges Remove duplicates from a chara...

Coding & Algorithms
19
0
60 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
Character.AI logo
Character.AI
Medium
Software Engineer

Design timestamped key-value map

Question Design a class that supports insert(key, value, timestamp) and get(key, timestamp) where get returns the value whose timestamp is the smalles...

Coding & Algorithms
16
0
42 people solved
Jul 29, 2025
Amazon logo
Amazon
Medium
Software Engineer

Compute minimum passes over permutation

Question You are given an array shelf representing a permutation of the integers 1..n. Starting with target = 1, you repeatedly scan the array left-to...

Coding & Algorithms
66
0
138 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Solve diameter and shortest bridge problems

Question LeetCode 543. Diameter of Binary Tree LeetCode 934. Shortest Bridge https://leetcode.com/problems/diameter-of-binary-tree/description/ https:...

Coding & Algorithms
19
0
58 people solved
Jul 29, 2025
PayPal logo
PayPal
Medium
Software Engineer

Discuss Project Motivation and Career Goals

Discuss Project Motivation and Career Goals Behavioral Phone Screen Prompts — Software Engineer (PayPal) Context: You are in a technical phone screen ...

Behavioral & Leadership
7
0
52 people solved
Jul 29, 2025
Character.AI logo
Character.AI
Medium
Software Engineer

Explain strings and copy complexity

Question What is a string? What fields does a struct string contain, and how would you implement it yourself? What is the time complexity of copying a...

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

Allocate refund across payments

Question Given a list of completed payment transactions (each with payment method, date, and amount) and a refund amount R, write an algorithm that is...

Coding & Algorithms
78
0
257 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Solve LeetCode stack and tree problems

Question LeetCode 1249. Minimum Remove to Make Valid Parentheses LeetCode 863. All Nodes Distance K in Binary Tree https://leetcode.com/problems/minim...

Coding & Algorithms
15
0
47 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

Find integer in most intervals

Question Given N integer intervals [ai, bi] (positive integers), find an integer that belongs to the maximum number of intervals (return any such inte...

Coding & Algorithms
7
0
18 people solved
Jul 29, 2025
Meta logo
Meta
Medium
Software Engineer

Solve tree leaf sum and target indices search

Question LeetCode 129. Sum Root to Leaf Numbers LeetCode 2089. Find Target Indices After Sorting Array (array already sorted; require O(log n) time) h...

Coding & Algorithms
7
0
34 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