For Companies
Log In
Sign Up
Oops!! It seems some javascript files did not load. Please hard reload(SHIFT + reload) your page.
Dashboard
Search
Amazon
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
Arrays
Rotate Matrix
Arrangement
Google
Facebook
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Find Duplicate in Array
Missing / Repeated number
Bucketing
Bucketing or sorting
Amazon
VMWare
Riverbed
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
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
Array Math
Amazon
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
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
Bucketing
Bucketing or sorting
Amazon
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
Bucketing
Bucketing or sorting
Google
Amazon
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
Interview Questions
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
Binary Search
Median of Array
Sort modification
Amazon
VMWare
Google
Microsoft
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
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
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
Reverse the String
Words
Qualcomm
Amazon
Microsoft
Cisco
Facebook
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
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
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
Two Pointers
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
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
Linked Lists
Rotate List
List 2 pointer
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Reorder List
List 2 pointer
pointer move
list trick
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
List cycle
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 2 pointer
pointer move
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
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
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
Min Stack
Multiple stack
Yahoo
Amazon
Adobe
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
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
Pruned builder
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
Pruned 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
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
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
heapmap
Adobe
Citigroup
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Distinct Numbers in Window
heapmap
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Trees
Inorder Traversal
Traversal
Amazon
Microsoft
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
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
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Postorder Traversal
Traversal
Amazon
Microsoft
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
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
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
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Dynamic Programming
Longest Increasing Subsequence
2D string DP
Facebook
Yahoo
Epic systems
Amazon
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
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
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
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
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
Unique Binary Search Trees II
Multiply DP
Amazon
Twitter
Samsung
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
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
Greedy
Gas Station
Bucket 2
Bloomberg
Google
DE Shaw
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Highest Product
Bucket 5
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
Bucket 1
Amazon
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Graphs
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
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
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
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
graph connectivity
Morgan Stanley
Amazon
Codenation
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
About Us
FAQ
Contact Us
Terms
Privacy Policy
System Design Questions
Google Interview Questions
Facebook Interview Questions
Amazon Interview Questions
Microsoft Interview Questions
Like Us
Follow Us
Email
Click here to start solving coding interview questions
Sign Up
or
By signing up on our website, you agree to our
Terms
and confirm that you have read our
Privacy Policy
.
Log in
Sign up
Forgot your password?
Didn't receive confirmation instructions?
Log in to your account
or
Email
Password
Remember Me
Sign up
Forgot your password?
Didn't receive confirmation instructions?