Skip to content

Interview Solver

FeaturesPricingHelp
Sign In
FeaturesPricingHelpSign In
Interview Questions›Collections›Advanced Interview Problems

Advanced Interview Problems

Challenging hard problems asked at top-tier tech companies for senior positions.

50
Total Problems
0
Easy
0
Medium
50
Hard
78%
Avg Frequency

Most Common Topics

Array (35)Hash Table (15)String (13)Breadth-First Search (11)Dynamic Programming (11)Depth-First Search (9)Stack (8)Math (8)

Companies Asking These Questions

Uber (8)Airbnb (7)Infosys (6)Flipkart (5)PayPal (4)Meta (4)

Problems in This Collection

#833HardFrequency: 100%High Priority

Bus Routes

Asked at Uber
ArrayHash TableBreadth-First Search
#1
Rank
#716HardFrequency: 100%High Priority

Max Stack

Asked at LinkedIn
Linked ListStackDesignDoubly-Linked ListOrdered Set
#2
Rank
#68HardFrequency: 100%High Priority

Text Justification

Asked at Airbnb
ArrayStringSimulation
#3
Rank
#750HardFrequency: 100%High Priority

Contain Virus

Asked at Flipkart
ArrayDepth-First SearchBreadth-First SearchMatrixSimulation
#4
Rank
#269HardFrequency: 95.2%High Priority

Alien Dictionary

Asked at Uber
ArrayStringDepth-First SearchBreadth-First SearchGraph Theory+2 more
#5
Rank
#432HardFrequency: 93.8%High Priority

All O`one Data Structure

Asked at LinkedIn
Hash TableLinked ListDesignDoubly-Linked List
#6
Rank
#1352HardFrequency: 93%High Priority

Maximum Profit in Job Scheduling

Asked at Airbnb
ArrayBinary SearchDynamic ProgrammingSorting
#7
Rank
#329HardFrequency: 92.5%High Priority

Longest Increasing Path in a Matrix

Asked at DoorDash
ArrayDynamic ProgrammingDepth-First SearchBreadth-First SearchGraph Theory+4 more
#8
Rank
#124HardFrequency: 90.2%High Priority

Binary Tree Maximum Path Sum

Asked at DoorDash
Dynamic ProgrammingTreeDepth-First SearchBinary TreeDP on Trees
#9
Rank
#305HardFrequency: 89.9%High Priority

Number of Islands II

Asked at Uber
ArrayHash TableUnion-Find
#10
Rank
#42HardFrequency: 88%High Priority

Trapping Rain Water

Asked at Amazon
ArrayTwo PointersDynamic ProgrammingStackMonotonic Stack
#11
Rank
#1424HardFrequency: 82.4%High Priority

Maximum Candies You Can Get from Boxes

Asked at Airbnb
ArrayBreadth-First SearchGraph Theory
#12
Rank
#564HardFrequency: 80.8%High Priority

Find the Closest Palindrome

Asked at Uber
MathString
#13
Rank
#2023HardFrequency: 79.4%High Priority

Design Movie Rental System

Asked at Flipkart
ArrayHash TableDesignHeap (Priority Queue)Ordered Set
#14
Rank
#127HardFrequency: 79%High Priority

Word Ladder

Asked at LinkedIn
Hash TableStringBreadth-First SearchBidirectional Search
#15
Rank
#460HardFrequency: 78.9%High Priority

LFU Cache

Asked at Salesforce
Hash TableLinked ListDesignDoubly-Linked List
#16
Rank
#336HardFrequency: 78.6%High Priority

Palindrome Pairs

Asked at Airbnb
ArrayHash TableStringTrieHash Function
#17
Rank
#631HardFrequency: 78.6%High Priority

Design Excel Sum Formula

Asked at Airbnb
ArrayHash TableStringGraph TheoryDesign+2 more
#18
Rank
#3608HardFrequency: 76.9%High Priority

Find the Number of Subsequences With Equal GCD

Asked at Infosys
ArrayMathDynamic ProgrammingNumber TheoryEuclidean Algorithm+1 more
#19
Rank
#4HardFrequency: 76.8%High Priority

Median of Two Sorted Arrays

Asked at Amazon
ArrayBinary SearchDivide and Conquer
#20
Rank
#3105HardFrequency: 76.8%High Priority

Minimum Edge Reversals So Every Node Is Reachable

Asked at Uber
Dynamic ProgrammingDepth-First SearchBreadth-First SearchGraph Theory
#21
Rank
#2147HardFrequency: 76.6%High Priority

The Score of Students Solving Math Expression

Asked at Flipkart
ArrayHash TableMathStringDynamic Programming+2 more
#22
Rank
#1024HardFrequency: 76.6%High Priority

Triples with Bitwise AND Equal To Zero

Asked at Flipkart
ArrayHash TableBit Manipulation
#23
Rank
#2667HardFrequency: 76%High Priority

Maximum Frequency Score of a Subarray

Asked at PayPal
ArrayHash TableMathStackSliding Window
#24
Rank
#787HardFrequency: 75.6%High Priority

Sliding Puzzle

Asked at Airbnb
ArrayDynamic ProgrammingBacktrackingBreadth-First SearchMemoization+4 more
#25
Rank
#23HardFrequency: 75.1%High Priority

Merge k Sorted Lists

Asked at Meta
Linked ListDivide and ConquerHeap (Priority Queue)Merge SortTournament Sort
#26
Rank
#76HardFrequency: 74.7%High Priority

Minimum Window Substring

Asked at TikTok
Hash TableStringSliding Window
#27
Rank
#239HardFrequency: 74.4%High Priority

Sliding Window Maximum

Asked at Oracle
ArrayQueueSliding WindowHeap (Priority Queue)Monotonic Queue+1 more
#28
Rank
#51HardFrequency: 73.6%High Priority

N-Queens

Asked at TikTok
ArrayBacktrackingAlgorithm X
#29
Rank
#212HardFrequency: 73.4%High Priority

Word Search II

Asked at Uber
ArrayStringBacktrackingTrieMatrix
#30
Rank
#2166HardFrequency: 73.2%High Priority

Number of Valid Move Combinations On Chessboard

Asked at PayPal
ArrayStringBacktrackingSimulation
#31
Rank
#2301HardFrequency: 73.2%High Priority

Count Array Pairs Divisible by K

Asked at PayPal
ArrayHash TableMathCountingNumber Theory+2 more
#32
Rank
#1583HardFrequency: 73.2%High Priority

Paint House III

Asked at PayPal
ArrayDynamic Programming
#33
Rank
#854HardFrequency: 72.8%High Priority

Making A Large Island

Asked at Meta
ArrayDepth-First SearchBreadth-First SearchUnion-FindMatrix
#34
Rank
#2905HardFrequency: 71.9%High Priority

Count Paths That Can Form a Palindrome in a Tree

Asked at Uber
Hash TableBit ManipulationTreeDepth-First Search
#35
Rank
#3690HardFrequency: 71.5%High Priority

Smallest Substring With Identical Characters I

Asked at Salesforce
ArrayBinary SearchEnumeration
#36
Rank
#3706HardFrequency: 71.5%High Priority

Smallest Substring With Identical Characters II

Asked at Salesforce
StringBinary Search
#37
Rank
#317HardFrequency: 71.4%High Priority

Shortest Distance from All Buildings

Asked at DoorDash
ArrayBreadth-First SearchMatrix
#38
Rank
#2419HardFrequency: 69.8%High Priority

Subarray With Elements Greater Than Varying Threshold

Asked at TikTok
ArrayStackUnion-FindMonotonic Stack
#39
Rank
#3181HardFrequency: 69.8%High Priority

Find Building Where Alice and Bob Can Meet

Asked at Infosys
ArrayBinary SearchStackBinary Indexed TreeSegment Tree+2 more
#40
Rank
#3875HardFrequency: 69.8%High Priority

Maximum Good Subtree Score

Asked at Infosys
ArrayDynamic ProgrammingBit ManipulationTreeDepth-First Search+1 more
#41
Rank
#84HardFrequency: 69.6%High Priority

Largest Rectangle in Histogram

Asked at Flipkart
ArrayStackMonotonic StackRange Minimum/Maximum Query
#42
Rank
#1029HardFrequency: 69.1%High Priority

Vertical Order Traversal of a Binary Tree

Asked at Meta
Hash TableTreeDepth-First SearchBreadth-First SearchSorting+1 more
#43
Rank
#3435HardFrequency: 68.4%High Priority

Block Placement Queries

Asked at Uber
ArrayBinary SearchBinary Indexed TreeSegment TreeOrdered Set
#44
Rank
#65HardFrequency: 68.2%High Priority

Valid Number

Asked at Meta
String
#45
Rank
#761HardFrequency: 67.9%High Priority

Employee Free Time

Asked at Airbnb
ArraySweep LineSortingHeap (Priority Queue)
#46
Rank
#2415HardFrequency: 67.6%High Priority

Count the Number of Ideal Arrays

Asked at Infosys
MathDynamic ProgrammingCombinatoricsNumber TheoryPrime Factorization+1 more
#47
Rank
#3762HardFrequency: 67.6%High Priority

Maximize the Minimum Game Score

Asked at Infosys
ArrayBinary SearchGreedy
#48
Rank
#4215HardFrequency: 67.6%High Priority

Good Subsequence Queries

Asked at Infosys
ArrayMathSegment TreeNumber Theory
#49
Rank
#785HardFrequency: 66.8%High Priority

Basic Calculator III

Asked at TikTok
MathStringStackRecursion
#50
Rank

Other Collections

Most Frequent Interview Questions

The top 50 most frequently asked coding interview questions across all major tech companies.

50 problems →

Top 100 Interview Questions

Essential collection of 100 coding problems that appear most often in technical interviews.

100 problems →

Beginner-Friendly Interview Questions

Easy to medium difficulty problems perfect for interview preparation beginners.

75 problems →

Quick Interview Prep - 25 Essential Problems

Curated list of 25 must-know problems for last-minute interview preparation.

25 problems →

System Design Interview Prep

Coding problems that help build system design thinking and scalability concepts.

60 problems →

Turn Practice into Success

Get AI assistance during your real interviews to solve these problems live and land your dream job.

Get Started Free

No credit card required

Interview Solver
  • Home
  • About
  • Pricing
  • Sign in
  • Contact
  • Blog
  • Companion
  • Help Center
  • Developers
  • Use Cases
  • Software Engineer
  • Product Manager
  • Misc
  • Privacy Policy
  • Terms and Conditions
  • Refund & Cancellation
  • Discord Community
  • Affiliate Program
  • Compare
  • All Comparisons
  • vs Final Round AI
  • vs UltraCode
  • vs Interview Coder
  • vs LockedIn AI
  • vs AI Apply
  • Free Tools
  • ATS Resume Checker
  • STAR Method Builder
  • Salary Lookup
  • Big O Cheat Sheet
  • Total Comp Calculator
  • View All →
  • Interview Questions
  • Google Questions
  • Amazon Questions
  • Microsoft Questions
  • Meta Questions
  • Apple Questions
  • TikTok Questions
  • View All →
© 2026 Interview Solver, Inc. All rights reserved.