Practice
Resources
Interview Guides
All Problems
Fast Track Courses
Community
Blog
Interview Preparation Kit
Video Courses
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
Please enter 3 or more characters
Experience Scaler
Experience Scaler
Profile
Settings
Help Requests
Profile
Settings
Help Requests
Login to experience InterviewBit
Sign in
Experience Scaler
Experience Scaler
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
Interview Preparation Kit
Video Courses
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
Join Interviewbit
Get free unlimited access to our resources to help you prepare for your next tech interview
Sign Up or Login to get Started
Continue with Google
OR continue using other options
Are you sure you want to Exit?
You will not able to continue using resources without logging in.
Yes, Exit
No
Dashboard
Search
Microsoft
×
Microsoft
Probability
Probability of Raining
Conditional Probability
Microsoft
probability
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Time Complexity
NESTED_CMPL3
Math
Amazon
Microsoft
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Arrays
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
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
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
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
Add One To Number
Array Math
Google
Microsoft
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
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
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
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
Maximum Unsorted Subarray
Sorting
Amazon
Microsoft
DE Shaw
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
Trifacta
Hike
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
Shopee
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
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
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
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
Add Binary Strings
String math
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
Twitter
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
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
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
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
Facebook
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
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
Moonfrog Labs
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
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
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
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
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
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
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
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
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
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
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
Microsoft
Qualcomm
Uber Technologies Inc
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
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
2 Sum
Hash Search
Facebook
Amazon
Google
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
Map
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
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
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
FactSet
Oracle
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
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
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
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
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
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
Max Rectangle in Binary Matrix
Matrix 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
Goldman Sachs
Directi
Software ag
Uber Technologies Inc
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
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
Deloitte
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
Directi
Flipkart
infoworks
Quicker you solve the problem, more points you will get. Ready to move to the problem ?
Go To Problem
Smallest sequence with given Primes
Simple array DP
Booking.com
Microsoft
Directi
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
Goldman Sachs
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
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
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 Search Board
graph traversal
Epic systems
Amazon
Google
infoworks
Microsoft
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
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
Click here to start solving coding interview questions
Join Interviewbit
Get free unlimited access to our resources to help you prepare for your next tech interview
Sign Up or Login to get Started
Continue with Google
OR continue using other options
Join Interviewbit
Get free unlimited access to our resources to help you prepare for your next tech interview
Sign Up or Login to get Started
Continue with Google
OR continue using other options
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.
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
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
2029
2030
No results found
*
Enter the expected year of graduation if you're student
Current Employer
Company Name
Type to search
No results found
College you graduated from
College/University Name
Type to search
No results found
Job Title
Job Title
Type to search
Engineering Leadership
Software Development Engineer (Backend)
Software Development Engineer (Frontend)
Software Development Engineer (Full Stack)
Data Scientist
Android Engineer
iOS Engineer
Devops Engineer
Support Engineer
Research Engineer
Engineering Intern
QA Engineer
Co-founder
SDET
Product Manager
Product Designer
Backend Architect
Program Manager
Release Engineer
Security Leadership
Database Administrator
Data Analyst
Data Engineer
Non Coder
Other
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