Toggle navigation
Practice
Referrals
Contests
Log In
Sign Up
Looking to hire?
We can help
Dashboard
Search
Microsoft
Arrays
Max Sum Contiguous Subarray
Array Math
Facebook
Paypal
Yahoo
Microsoft
LinkedIn
Amazon
Goldman Sachs
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
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
Goldman Sachs
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
Anti Diagonals
Simulation array
Microsoft
Adobe
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Math
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
Trailing Zeros in Factorial
Number theory
Microsoft
Jabong
Zillow
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Sorted Permutation Rank
Number theory
Housing
Zenefits
Microsoft
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
Goldman Sachs
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Search for a Range
Simple binary search
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
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
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
Multiply Strings
String math
Microsoft
Google
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
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
Pretty Json
Pretty print
Facebook
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
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Bit Manipulation
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
Two Pointers
Merge Two Sorted Lists II
Multiple arrays
Adobe
Expedia
Microsoft
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
Sort by Color
Inplace Update
Facebook
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Array 3 Pointers
Tricks
Google
Microsoft
Yahoo
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Remove Duplicates from Sorted Array II
Inplace Update
Expedia
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Minimize the absolute difference
two pointer
Microsoft
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
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
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Remove Duplicates from Sorted List II
List 2 pointer
Microsoft
VMWare
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
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
Partition List
List sort
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Insertion Sort List
List sort
Microsoft
Google
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
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
Stacks And Queues
Simplify Directory Path
Stack simple
Microsoft
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
All Unique Permutations
Microsoft
Facebook
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Permutations
Permutations
Microsoft
Adobe
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Generate all Parentheses II
Bruteforce builder
Pruned builder
Facebook
Microsoft
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
Sudoku
Game solving
Pruned builder
Microsoft
Qualcomm
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Gray Code
Maths and backtracking
Microsoft
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
Hashing
Anagrams
Key formation
Amazon
Microsoft
Goldman Sachs
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
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
Largest Continuous Sequence Zero Sum
Hash Search
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Heaps And Maps
LRU Cache
heapmap
Adobe
Citigroup
Amazon
Microsoft
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
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
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
Preorder Traversal
Traversal
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Max Depth of Binary Tree
Root to leaf
Goldman Sachs
Facebook
Bloomberg
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
Sum Root to Leaf Numbers
Root to leaf
Google
Microsoft
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
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
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
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
Dynamic Programming
Longest Increasing Subsequence
2D string DP
Facebook
Yahoo
Epic systems
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Max Rectangle in Binary Matrix
Matrix DP
preprocess DP
Google
Microsoft
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
Regular Expression Match
2D string DP
Facebook
Microsoft
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
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Regular Expression II
2D string DP
Facebook
Microsoft
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Coin Sum Infinite
Suffix / prefix DP
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Longest Arithmetic Progression
DP tricky
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Length of Longest Subsequence
Simple array DP
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Greedy Algorithm
Majority Element
Bucket 3
Microsoft
Yahoo
Google
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Distribute Candy
Bucket 1
Microsoft
Flipkart
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Graph Data Structure & Algorithms
Word Ladder II
Shortest path
Google
Microsoft
Ebay
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Word Ladder I
Shortest path
Google
Microsoft
Ebay
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Smallest sequence with given Primes
BFS
Booking.com
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Puzzles
Jelly Beans Jars
Logical deduction
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Cross the Bridge
Math
Google
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Find the Defective Ball
Geometry and shapes
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
World Trips
Math
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Color of the Bear
Physics
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
One Mile on the Globe
Math
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Divide Gold Bar
Geometry and shapes
Microsoft
Ebay
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Quarters on a Table
Game
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Ants on a Triangle
Geometry and shapes
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Blog
About Us
FAQ
Contact Us
Terms
Privacy Policy
System Design Interview Questions
Google Interview Questions
Facebook Interview Questions
Amazon Interview Questions
Microsoft Interview Questions
SQL Interview Questions
Puzzles 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?