Practice
Resources
Interview Guides
All Problems
Fast Track Courses
Community
Blog
Contests
Online IDE
New
Online C++ Compiler
Online C Compiler
Online Python Compiler
Online Java Compiler
Online JavaScript Compiler
Free Mock
Powered By
Free Mock Assessment
Take popular mock tests for free with real life interview questions from top tech companies
Explore Mock Tests
Powered By
Mock Interview
Pair up with a peer like you and practise with hand-picked questions
Explore Mock Interviews
Events
New
Scaler
Profile
Settings
Help Requests
Profile
Settings
Help Requests
Login to experience InterviewBit
Sign in
Profile
Settings
Help Requests
Profile
Settings
Help Requests
Login to experience InterviewBit
Sign in
Practice
Improve your coding skills with our resources
Resources
Experience learning
Interview Guides
All Problems
Fast Track Courses
Community
Blog
Contests
Compete in popular contests with top coders
Online IDE
Checkout our improved IDE
Online C++ Compiler
Online C Compiler
Online Python Compiler
Online Java Compiler
Online JavaScript Compiler
Free Mock
Assess yourself and prepare for interviews
Free Mock Assessment
Mock Interview
Events
Attend free live masterclass hosted by top tech professionals
New
Scaler
Explore Offerings by SCALER
Dashboard
Search
Amazon
Time Complexity
NESTED_CMPL3
Math
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
LOOP_CMPL
Basic primer
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Storage Scalability
Design Cache
Amazon
Facebook
Google
Ola Cabs
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Highly Available Database
Amazon
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Sharding a Database
Amazon
Dropbox
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Probability
Distribution Percentage
Normal and Continuous Distribution
Amazon
statistics
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Arrays
Rotate Matrix
Arrangement
Google
Facebook
Amazon
Zoho
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Max Sum Contiguous Subarray
Array Math
Facebook
Paypal
Yahoo
Microsoft
LinkedIn
Amazon
Goldman Sachs
Deloitte
DE Shaw
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Find Duplicate in Array
Bucketing
Amazon
VMWare
Riverbed
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Merge Intervals
Value ranges
Google
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Spiral Order Matrix I
Simulation array
Microsoft
JP Morgan
Amazon
Flipkart
Adobe
Wipro
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Repeat and Missing Number Array
Missing / Repeated number
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Merge Overlapping Intervals
Value ranges
Google
Amazon
Directi
Fab
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Set Matrix Zeros
Space recycle
Oracle
Amazon
Facebook
Paytm
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Spiral Order Matrix II
Simulation array
Microsoft
JP Morgan
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Largest Number
Arrangement
Amazon
Goldman Sachs
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
First Missing Integer
Missing / Repeated number
Space recycle
Model N
InMobi
Amazon
Microsoft
Deloitte
FreeCharge
Goldman Sachs
LIDO learning
Mygate
walmart
DE Shaw
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Pascal Triangle
Simulation array
Google
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Max Distance
Sorting
Google
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Next Permutation
Arrangement
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Wave Array
Sorting
Google
Adobe
Amazon
Zoho
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Hotel Bookings Possible
Sorting
Goldman Sachs
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Min Steps in Infinite Grid
Array Math
Directi
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Flip
Array Math
VMWare
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Find Permutation
Arrangement
Goldman Sachs
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Maximum Absolute Difference
Array Math
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Maximum Unsorted Subarray
Sorting
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Reorder Data in Log Files
Sorting
Amazon
sorting
strings
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Make equal elements Array
Simulation array
Amazon
arrays
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
System Design Concepts
Design URL Shortener
Amazon
Directi
Zenefits
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Design Messenger
Amazon
Amazon Lab126
Facebook
Google
Twitter
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Math
Excel Column Number
Base conversion
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Excel Column Title
Base conversion
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Grid Unique Paths
Combinatorics
Google
Amazon
Microsoft
Adobe
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Power Of Two Integers
Adhoc
Housing
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Next Similar Number
Number encoding
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
K-th Permutation
Combinatorics
Amazon
Math
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Descriptive Statistics
Find Variance
Array
Measures of Variability
Amazon
statistics
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Binary Search
Matrix Search
Simple binary search
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Median of Array
Sort modification
Amazon
VMWare
Google
Microsoft
Goldman Sachs
Trifacta
Hike
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Square Root of Integer
Search answer
Facebook
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Rotated Sorted Array Search
Sort modification
Facebook
Google
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Painter's Partition Problem
Search answer
Google
Codenation
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Matrix Median
Search answer
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Capacity To Ship Packages Within B Days
Search answer
Amazon
Binary Search
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Strings
Implement StrStr
String Search
Facebook
Amazon
Qualcomm
Wipro
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Integer To Roman
String math
Amazon
Facebook
Microsoft
Twitter
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Roman To Integer
String math
Amazon
Facebook
Microsoft
Twitter
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Length of Last Word
Words
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Atoi
String parsing
Adobe
Nvidia
Agilent systems
Bloomberg
Amazon
Apple
Microsoft
Groupon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Valid Ip Addresses
String parsing
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Compare Version Numbers
String parsing
Intuit
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Longest Palindromic Substring
string Tricks
Amazon
Microsoft
Groupon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Count And Say
string Simulation
Facebook
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Reverse the String
Words
Qualcomm
Amazon
Microsoft
Cisco
Facebook
Twitter
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Power of 2
String math
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Minimum Characters required to make a String Palindromic
string Tricks
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Convert to Palindrome
string Tricks
Amazon
strings
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Bulls and Cows
string Simulation
Amazon
strings
hashing
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Bit Manipulation
Reverse Bits
Bit play
Nvidia
HCL
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Single Number
Bit array
Amazon
sharechat
toppr
Uber Technologies Inc
Twitter
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Divide Integers
Bit play
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Single Number II
Bit array
Google
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Count Total Set Bits
Bit tricks
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Palindromic Binary Representation
Bit tricks
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Two Pointers
Merge Two Sorted Lists II
Multiple arrays
Adobe
Expedia
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
3 Sum
Sorting
Facebook
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Remove Duplicates from Sorted Array
Inplace Update
United Healthgroup
Amazon
Google
Microsoft
Expedia
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Container With Most Water
Tricks
Facebook
Google
Amazon
Adobe
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Remove Element from Array
Inplace Update
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Max Continuous Series of 1s
Tricks
VMWare
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Pair With Given Difference
Sorting
Amazon
Flipkart
Two Pointers
hashing
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Maximum Ones After Modification
Tricks
Amazon
hotstar
Two Pointers
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Linked Lists
Swap List Nodes in pairs
pointer move
Microsoft
Amazon
Moonfrog Labs
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Rotate List
pointer move
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Reorder List
list trick
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Merge Two Sorted Lists
List 2 pointer
Microsoft
Yahoo
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Remove Duplicates from Sorted List
List 2 pointer
Microsoft
VMWare
goldmann sachs
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Add Two Numbers as Lists
List math
Amazon
Qualcomm
Microsoft
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Remove Nth Node from List End
List 2 pointer
HCL
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
List Cycle
List math
Amazon
Microsoft
NetApp
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Intersection of Linked Lists
List 2 pointer
Amazon
Microsoft
NetApp
Apache Design
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Reverse Link List II
list trick
Facebook
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Palindrome List
List 2 pointer
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
K reverse linked list
pointer move
Microsoft
Amazon
Linked Lists
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Reverse Alternate K Nodes
list trick
Amazon
LeanApps
Linked Lists
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Kth Node From Middle
list trick
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Sort Binary Linked List
List sort
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Even Reverse
pointer move
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Stacks And Queues
Rain Water Trapped
Stack math
Qualcomm
Amazon
Microsoft
Goldman Sachs
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Generate all Parentheses
Stack simple
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Largest Rectangle in Histogram
cleverstack
Google
Facebook
Amazon
OLX Group
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Sliding Window Maximum
Queue
Google
Chronus
Walmart labs
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Min Stack
Stack simple
Yahoo
Amazon
Adobe
Microsoft
Grab
Twitter
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Redundant Braces
Stack simple
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Nearest Smaller Element
cleverstack
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
First non-repeating character in a stream of characters
Queue
Amazon
Flipkart
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Balanced Parantheses!
Stack simple
Amazon
Google
stack
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Backtracking
Kth Permutation Sequence
Maths and backtracking
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Combination Sum
Subsets
Facebook
Amazon
Adobe
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Combination Sum II
Subsets
Microsoft
Amazon
Infosys
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
NQueens
Game solving
Qualcomm
Google
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Combinations
Subsets
Amazon
Adobe
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Subsets II
Subsets
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Subset
Subsets
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Palindrome Partitioning
Bruteforce builder
Amazon
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Hashing
Longest Consecutive Sequence
Amazon
Google
Directi
Flipkart
Tower Research Capital
Uber Technologies Inc
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
4 Sum
Hash Search
Amazon
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Anagrams
Key formation
Amazon
Microsoft
Goldman Sachs
Deloitte
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Fraction
Maths and hashing
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Points on the Straight Line
Maths and hashing
Google
Amazon
InMobi
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
2 Sum
Hash Search
Facebook
Amazon
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Valid Sudoku
Hash Search
Google
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Copy List
Key formation
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Longest Substring Without Repeat
Hashing two pointer
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Heaps And Maps
Merge K Sorted Lists
heap
Flipkart
Amazon
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
LRU Cache
Map
Adobe
Citigroup
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
INVERSIONS
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Distinct Numbers in Window
Map
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Maximum Sum Combinations
heap
Amazon
Liv.ai
sorting
Heaps
hashing
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
K Largest Elements
heap
Amazon
Delhivery
Flipkart
heap
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Tree Data Structure
Inorder Traversal
Traversal
Amazon
Microsoft
grofers
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Recover Binary Search Tree
BST traversal
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Inorder Traversal of Cartesian Tree
Tree construction
Amazon
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Least Common Ancestor
Tree search
Facebook
Adobe
Microsoft
Amazon
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Construct Binary Tree From Inorder And Preorder
Tree construction
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Flatten Binary Tree to Linked List
LinkedList tree
Adobe
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Valid Binary Search Tree
Simple tree ops
Amazon
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Preorder Traversal
Traversal
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Binary Tree From Inorder And Postorder
Tree construction
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Balanced Binary Tree
Simple tree ops
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Sorted Array To Balanced BST
Tree construction
VMWare
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Symmetric Binary Tree
2 trees
Amazon
Zomato
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Postorder Traversal
Traversal
Amazon
Microsoft
juspay
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Populate Next Right Pointers Tree
level order
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Identical Binary Trees
2 trees
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
BST Iterator
BST traversal
Apple
Amazon
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
ZigZag Level Order Traversal BT
level order
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Path Sum
Root to leaf
Microsoft
Yahoo
Amazon
DE Shaw
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Next Pointer Binary Tree
Microsoft
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Min Depth of Binary Tree
Root to leaf
Facebook
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Root to Leaf Paths With Sum
Root to leaf
Microsoft
Yahoo
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Kth Smallest Element In Tree
BST traversal
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
2-Sum Binary Tree
BST traversal
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Vertical Order traversal of Binary Tree
Traversal
Amazon
Grab
infoworks
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Diagonal Traversal
Traversal
Amazon
DE Shaw
dfs
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Cousins in Binary Tree
level order
Amazon
DE Shaw
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Path to Given Node
Simple tree ops
Amazon
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Remove Half Nodes
Simple tree ops
Amazon
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Merge two Binary Tree
2 trees
Amazon
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Maximum Edge Removal
Simple tree ops
Amazon
dfs
connected component
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Burn a Tree
Root to leaf
Hippocabs
Amazon
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Nodes at Distance K
Simple tree ops
Amazon
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Vertical Sum of a Binary Tree
Traversal
Amazon
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Covered / Uncovered Nodes
Traversal
Amazon
tree
binary tree
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Dynamic Programming
Longest Increasing Subsequence
Simple array DP
Facebook
Yahoo
Epic systems
Amazon
Microsoft
deshaw
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Unique Binary Search Trees
DP optimized backtrack
Amazon
Twitter
Samsung
Directi
tower research
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Max Product Subarray
Suffix / prefix DP
Amazon
LinkedIn
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Ways to Decode
Simple array DP
Facebook
Amazon
NoBroker.com
OLX Group
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Best Time to Buy and Sell Stocks II
Adhoc
Amazon
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Best Time to Buy and Sell Stocks III
DP tricky
Amazon
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Best Time to Buy and Sell Stocks I
Suffix / prefix DP
Amazon
Facebook
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Max Sum Path in Binary Tree
tree DP
Directi
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Palindrome Partitioning II
Breaking words
Amazon
Google
Tower Research Capital
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Min Sum Path in Matrix
Matrix DP
Amazon
Flipkart
goldmann sachs
thought works
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Min Jumps Array
Greedy OR DP
Amazon
Ebay
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Edit Distance
2D string DP
Google
LinkedIn
Microsoft
Amazon
Flipkart
Ola
PubMatic
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Unique Binary Search Trees II
Multiply DP
Amazon
Twitter
Samsung
Directi
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Jump Game Array
Greedy OR DP
Amazon
Ebay
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Stairs
Simple array DP
Morgan Stanley
Amazon
Intel
Goldman Sachs
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Evaluate Expression To True
DP tricky
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Arrange II
Suffix / prefix DP
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Equal Average Partition
Knapsack
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Maximum Path in Triangle
Matrix DP
Amazon
easy
dp
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
0-1 Knapsack
Knapsack
Amazon
deshaw
0/1 knapsack
dp
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Chain of Pairs
Derived DP
Amazon
Directi
dp
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Potions
DP
Amazon
dynamic programming
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Greedy Algorithm
Gas Station
Medium Greedy
Bloomberg
Google
DE Shaw
Amazon
Flipkart
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Majority Element
Medium Greedy
Microsoft
Yahoo
Google
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Distribute Candy
Medium Greedy
Microsoft
Flipkart
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Highest Product
Easy Greedy
Coursera
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Assign Mice to Holes
Medium Greedy
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Meeting rooms
Medium Greedy
Amazon
ajio
Apple
Fab
Flipkart
Microsoft
greedy
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Graph Data Structure & Algorithms
Clone Graph
graph hashing
Google
Facebook
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Word Search Board
graph traversal
Epic systems
Amazon
Google
infoworks
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Stepping Numbers
graph traversal
Epic systems
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Black Shapes
graph connectivity
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Knight On Chess Board
Shortest path
Goldman Sachs
Amazon
Tower Research Capital
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Smallest Multiple With 0 and 1
BFS
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Commutable Islands
graph connectivity
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Possibility of finishing all courses given pre-requisites
graph connectivity
Amazon
Flipkart
Grab
infoworks
Zenefits
Depth first search
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Valid Path
BFS
Morgan Stanley
Amazon
Codenation
Directi
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Cycle in Directed Graph
Depth first search
Amazon
Morgan Stanley
dfs
graphs
easy
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Cycle in Undirected Graph
graph connectivity
Amazon
graphs
easy
dsu
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Snake Ladder Problem!
BFS
Amazon
bfs
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Region in BinaryMatrix
BFS
Amazon
graphs
easy
bfs
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Path in Matrix
BFS
Amazon
dfs/bfs
graph
matrix
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Puzzles
Monkeys and Doors
Math
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
The Tribe
Logical deduction
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Prisoners and Poison
Math
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Light Switches in the Cellar
Game
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Next Number II
Math
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Click here to start solving coding interview questions
Unlock the complete InterviewBit
experience for free
Sign Up Using
Or use email
1 Million +
Strong Tech Community
500 +
Questions to Practice
100 +
Expert Interview Guides
Free Mock Assessment
Powered By
Fill up the details for personalised experience.
All fields are mandatory
Current Employer
*
Enter company name
*
Type to search
No results found
Graduation Year
*
Select an option
*
Type to search
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
No results found
Phone Number
*
OTP will be sent to this number for verification
+1
*
Type to search
+1
No results found
Phone Number
Change Number
Phone Number
*
OTP will be sent to this number for verification
+1
*
Type to search
+1
No results found
Phone Number
Change Number
Graduation Year
*
Graduation Year
*
Type to search
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
No results found
^{*}
Enter the expected year of graduation if you're student
Current Employer
*
Company Name
*
Type to search
No results found
Please verify your phone number
Edit
Resend OTP
By clicking on Start Test, I agree to be contacted by Scaler in the future.
Already have an account?
Log in
Free Mock Assessment
Powered By
Instructions from Interviewbit
Start Test