Amazon Easy Questions

Easy

527 easy problems asked at Amazon interviews

Top Topics

Questions

TitleDifficulty
Two SumEasy
Best Time to Buy and Sell StockEasy
Valid ParenthesesEasy
Longest Common PrefixEasy
Merge Sorted ArrayEasy
Palindrome NumberEasy
Majority ElementEasy
Merge Two Sorted ListsEasy
Climbing StairsEasy
Valid AnagramEasy
Remove Duplicates from Sorted ArrayEasy
Roman to IntegerEasy
Merge Strings AlternatelyEasy
Pascal's TriangleEasy
Move ZeroesEasy
Create Hello World FunctionEasy
Recyclable and Low Fat ProductsEasy
Single NumberEasy
Palindrome Linked ListEasy
Sqrt(x)Easy
Reverse Linked ListEasy
Search Insert PositionEasy
Contains DuplicateEasy
Remove ElementEasy
First Unique Character in a StringEasy
Missing NumberEasy
Find the Index of the First Occurrence in a StringEasy
Flood FillEasy
Next Greater Element IEasy
Valid PalindromeEasy
Middle of the Linked ListEasy
Diameter of Binary TreeEasy
Linked List CycleEasy
Plus OneEasy
Intersection of Two ArraysEasy
Happy NumberEasy
Balanced Binary TreeEasy
Contains Duplicate IIEasy
Fibonacci NumberEasy
Max Consecutive OnesEasy
Check if Array Is Sorted and RotatedEasy
Combine Two TablesEasy
Isomorphic StringsEasy
Symmetric TreeEasy
Add BinaryEasy
Make Array Zero by Subtracting Equal AmountsEasy
Intersection of Two Linked ListsEasy
Rotate StringEasy
Maximum Depth of Binary TreeEasy
Same TreeEasy
Concatenation of ArrayEasy
Fizz BuzzEasy
Article Views IEasy
Employees Earning More Than Their ManagersEasy
Reverse StringEasy
Min Cost Climbing StairsEasy
Squares of a Sorted ArrayEasy
Binary SearchEasy
Average Time of Process per MachineEasy
Design Parking SystemEasy
Length of Last WordEasy
Invert Binary TreeEasy
Valid Palindrome IIEasy
Remove Duplicates from Sorted ListEasy
Kth Largest Element in a StreamEasy
Set MismatchEasy
Rising TemperatureEasy
Is SubsequenceEasy
Big CountriesEasy
Add Two IntegersEasy
Binary Tree Inorder TraversalEasy
Kth Missing Positive NumberEasy
Design HashMapEasy
Can Place FlowersEasy
Greatest Common Divisor of StringsEasy
Average Selling PriceEasy
Maximum Units on a TruckEasy
Assign CookiesEasy
Implement Queue using StacksEasy
Reverse Vowels of a StringEasy
Power of TwoEasy
Find Customer RefereeEasy
Maximum Average Subarray IEasy
Running Sum of 1d ArrayEasy
Kids With the Greatest Number of CandiesEasy
Find Missing and Repeated ValuesEasy
Ransom NoteEasy
Unique Number of OccurrencesEasy
Convert Sorted Array to Binary Search TreeEasy
First Bad VersionEasy
Repeated Substring PatternEasy
Jewels and StonesEasy
Count Binary SubstringsEasy
Replace Employee ID With The Unique IdentifierEasy
Add DigitsEasy
Customer Who Visited but Did Not Make Any TransactionsEasy
Range Sum Query - ImmutableEasy
Implement Stack using QueuesEasy
Find All Numbers Disappeared in an ArrayEasy
Create a DataFrame from ListEasy
Remove Linked List ElementsEasy
Replace Elements with Greatest Element on Right SideEasy
Employee BonusEasy
Find Pivot IndexEasy
Students and ExaminationsEasy
Two Sum IV - Input is a BSTEasy
Third Maximum NumberEasy
Merge Two Binary TreesEasy
Product Sales Analysis IEasy
Excel Sheet Column TitleEasy
Remove All Adjacent Duplicates In StringEasy
Count Negative Numbers in a Sorted MatrixEasy
Add StringsEasy
Path SumEasy
Baseball GameEasy
Path CrossingEasy
Best Poker HandEasy
Number of Equivalent Domino PairsEasy
Image SmootherEasy
Sum of All Subset XOR TotalsEasy
Remove Outermost ParenthesesEasy
Reverse BitsEasy
Customers Who Never OrderEasy
Summary RangesEasy
Sort Array By Parity IIEasy
Find the Highest AltitudeEasy
Meeting RoomsEasy
Count the Number of Special Characters IEasy
Shuffle the ArrayEasy
Divide an Array Into Subarrays With Minimum Cost IEasy
Lemonade ChangeEasy
Find the DifferenceEasy
Determine Whether Matrix Can Be Obtained By RotationEasy
Count Number of Pairs With Absolute Difference KEasy
Actors and Directors Who Cooperated At Least Three TimesEasy
Pascal's Triangle IIEasy
Sales Analysis IIIEasy
List the Products Ordered in a PeriodEasy
Find if Path Exists in GraphEasy
Number of Students Unable to Eat LunchEasy
Reverse Words in a String IIIEasy
Duplicate EmailsEasy
Arranging CoinsEasy
Last Stone WeightEasy
Array PartitionEasy
To Be Or Not To BeEasy
Most Common WordEasy
Minimum Sum of Four Digit Number After Splitting DigitsEasy
Sum of Root To Leaf Binary NumbersEasy
Reformat Department TableEasy
Largest Odd Number in StringEasy
Logger Rate LimiterEasy
Number of Recent CallsEasy
Ugly NumberEasy
Trionic Array IEasy
Counting BitsEasy
Backspace String CompareEasy
Subtree of Another TreeEasy
Minimum Number of Operations to Make Elements in Array DistinctEasy
Substring Matching PatternEasy
Check If Digits Are Equal in String After Operations IEasy
Number of 1 BitsEasy
Longest PalindromeEasy
How Many Numbers Are Smaller Than the Current NumberEasy
Row With Maximum OnesEasy
The K Weakest Rows in a MatrixEasy
High FiveEasy
Split With Minimum SumEasy
Remove Palindromic SubsequencesEasy
Can Make Arithmetic Progression From SequenceEasy
Two Sum Less Than KEasy
Build Array from PermutationEasy
Power of ThreeEasy
Triangle JudgementEasy
The Number of Employees Which Report to Each EmployeeEasy
Moving Average from Data StreamEasy
String Matching in an ArrayEasy
Minimum Number of Pushes to Type Word IEasy
Kth Distinct String in an ArrayEasy
Warehouse ManagerEasy
NPV QueriesEasy
Customer Order FrequencyEasy
Find Words That Can Be Formed by CharactersEasy
Find the K-or of an ArrayEasy
User Activity for the Past 30 Days IEasy
Reverse String IIEasy
Word PatternEasy
Maximum Nesting Depth of the ParenthesesEasy
Defuse the BombEasy
Invalid TweetsEasy
Valid Word AbbreviationEasy
Delete Duplicate EmailsEasy
Percentage of Users Attended a ContestEasy
Prime Number of Set Bits in Binary RepresentationEasy
Remove Vowels from a StringEasy
Sales Analysis IEasy
Find Total Time Spent by Each EmployeeEasy
Rearrange Products TableEasy
Distribute Candies Among Children IEasy
Find the Pivot IntegerEasy
Sales Analysis IIEasy
Product's Price for Each StoreEasy
Number of Distinct AveragesEasy
Index Pairs of a StringEasy
Sum of Digits in the Minimum NumberEasy
Number of Days in a MonthEasy
Armstrong NumberEasy
Largest Unique NumberEasy
Friendly Movies Streamed Last MonthEasy
Product Sales Analysis IIEasy
Make Three Strings EqualEasy
All Valid Triplets That Can Represent a CountryEasy
Prime ArrangementsEasy
Diet Plan PerformanceEasy
Count Numbers With Unique Digits IIEasy
Rearrange Characters to Make Target StringEasy
Find Nearest Point That Has the Same X or Y CoordinateEasy
Shift 2D GridEasy
Minimum Average of Smallest and Largest ElementsEasy
Product Sales Analysis VEasy
Find the Team SizeEasy
Ad-Free SessionsEasy
Count Triplets with Even XOR Set Bits IEasy
Students With Invalid DepartmentsEasy
Minimum Right Shifts to Sort the ArrayEasy
Minimum Distance to the Target ElementEasy
Queries Quality and PercentageEasy
Binary Tree Preorder TraversalEasy
Return Length of Arguments PassedEasy
Final Prices With a Special Discount in a ShopEasy
Base 7Easy
Maximum Product of Three NumbersEasy
Island PerimeterEasy
Count Elements With Maximum FrequencyEasy
Excel Sheet Column NumberEasy
Transpose MatrixEasy
Find the Town JudgeEasy
Find the Difference of Two ArraysEasy
Binary Tree Postorder TraversalEasy
Binary Tree PathsEasy
Longest Harmonious SubsequenceEasy
Find Winner on a Tic Tac Toe GameEasy
Find Common CharactersEasy
Find the K-th Character in String Game IEasy
Minimum Depth of Binary TreeEasy
N-th Tribonacci NumberEasy
Intersection of Two Arrays IIEasy
CounterEasy
Number of Good PairsEasy
Sort Array by Increasing FrequencyEasy
Valid Mountain ArrayEasy
Valid Perfect SquareEasy
Minimum Difference Between Highest and Lowest of K ScoresEasy
Clear DigitsEasy
Count Subarrays of Length Three With a ConditionEasy
Search in a Binary Search TreeEasy
Find N Unique Integers Sum up to ZeroEasy
Filter Elements from ArrayEasy
Find the Maximum Achievable NumberEasy
Reverse String PrefixEasy
Robot Return to OriginEasy
Transformed ArrayEasy
Fix Names in a TableEasy
Matrix Diagonal SumEasy
Smallest Even MultipleEasy
Valid Phone NumbersEasy
Perfect NumberEasy
Power of FourEasy
Sum of Left LeavesEasy
Score of a StringEasy
Finding 3-Digit Even NumbersEasy
Find All K-Distant Indices in an ArrayEasy
Fruits Into Baskets IIEasy
Check If N and Its Double ExistEasy
Unique 3-Digit Even NumbersEasy
Find Numbers with Even Number of DigitsEasy
Nim GameEasy
Earliest Finish Time for Land and Water Rides IEasy
Minimum Cost of Buying Candies With DiscountEasy
Count Complete Tree NodesEasy
Monotonic ArrayEasy
Find Resultant Array After Removing AnagramsEasy
Not Boring MoviesEasy
Final Value of Variable After Performing OperationsEasy
Relative RanksEasy
Find Target Indices After Sorting ArrayEasy
Maximum Product of Two Elements in an ArrayEasy
Number of Unique Subjects Taught by Each TeacherEasy
Range Sum of BSTEasy
Apply Operations to an ArrayEasy
Add to Array-Form of IntegerEasy
Find Smallest Letter Greater Than TargetEasy
Divisor GameEasy
Defanging an IP AddressEasy
Root Equals Sum of ChildrenEasy
Primary Department for Each EmployeeEasy
Delete Columns to Make SortedEasy
Maximum Difference Between Even and Odd Frequency IEasy
Maximum Difference Between Increasing ElementsEasy
Shortest Word DistanceEasy
Maximum Population YearEasy
Sum of Unique ElementsEasy
Sort Array By ParityEasy
Buddy StringsEasy
N-Repeated Element in Size 2N ArrayEasy
Minimum Index Sum of Two ListsEasy
Self Dividing NumbersEasy
Check if the Sentence Is PangramEasy
Guess Number Higher or LowerEasy
Cousins in Binary TreeEasy
Relative Sort ArrayEasy
Maximum Score After Splitting a StringEasy
Water BottlesEasy
Counter IIEasy
Valid WordEasy
Rank Transform of an ArrayEasy
Split a String in Balanced StringsEasy
N-ary Tree Postorder TraversalEasy
Adjacent Increasing Subarrays Detection IEasy
Count Hills and Valleys in an ArrayEasy
Find the Original Typed String IEasy
Fair Candy SwapEasy
Verifying an Alien DictionaryEasy
Project Employees IEasy
Game Play Analysis IEasy
Richest Customer WealthEasy
Array Prototype LastEasy
Count Pairs Whose Sum is Less than TargetEasy
Reverse Prefix of WordEasy
Find Subsequence of Length K With the Largest SumEasy
Find Users With Valid E-MailsEasy
Biggest Single NumberEasy
Minimum Subsequence in Non-Increasing OrderEasy
Longest Continuous Increasing SubsequenceEasy
Count Vowel Substrings of a StringEasy
Number of Steps to Reduce a Number to ZeroEasy
Minimum Pair Removal to Sort Array IEasy
Convert Integer to the Sum of Two No-Zero IntegersEasy
Maximum Number of Words Found in SentencesEasy
Maximum Number of BalloonsEasy
Find Center of Star GraphEasy
Sort the PeopleEasy
Construct the Minimum Bitwise Array IEasy
Binary GapEasy
Check if Binary String Has at Most One Segment of OnesEasy
Daily Leads and PartnersEasy
Two Furthest Houses With Different ColorsEasy
Average of Levels in Binary TreeEasy
Minimum Absolute DifferenceEasy
Shortest Distance to a CharacterEasy
Leaf-Similar TreesEasy
Increasing Order Search TreeEasy
Largest Perimeter TriangleEasy
Convert Binary Number in a Linked List to IntegerEasy
Count of Matches in TournamentEasy
Check if One String Swap Can Make Strings EqualEasy
Decode the MessageEasy
Minimum String Length After Removing SubstringsEasy
Delete Characters to Make Fancy StringEasy
A Number After a Double ReversalEasy
Divisible and Non-divisible Sums DifferenceEasy
Maximum Unique Subarray Sum After DeletionEasy
Find X-Sum of All K-Long Subarrays IEasy
Check If It Is a Straight LineEasy
Largest Positive Integer That Exists With Its NegativeEasy
Substrings of Size Three with Distinct CharactersEasy
DI String MatchEasy
Minimum Cuts to Divide a CircleEasy
Binary WatchEasy
Find the Middle Index in ArrayEasy
Rectangle OverlapEasy
Teemo AttackingEasy
Swap Sex of EmployeesEasy
Number of Segments in a StringEasy
Partition Array Into Three Parts With Equal SumEasy
Sort Integers by The Number of 1 BitsEasy
Largest Triangle AreaEasy
Make Array Elements Equal to ZeroEasy
Minimum Number GameEasy
Reshape the MatrixEasy
Left and Right Sum DifferencesEasy
Binary Number with Alternating BitsEasy
Minimum Absolute Difference in BSTEasy
Display the First Three RowsEasy
Shortest Distance to Target String in a Circular ArrayEasy
Complement of Base 10 IntegerEasy
Count Symmetric IntegersEasy
Keyboard RowEasy
Design HashSetEasy
Flipping an ImageEasy
Duplicate ZerosEasy
Element Appearing More Than 25% In Sorted ArrayEasy
Number of Days Between Two DatesEasy
Three Consecutive OddsEasy
Maximum 69 NumberEasy
Destination CityEasy
Count Good TripletsEasy
Make The String GreatEasy
Widest Vertical Area Between Two Points Containing No PointsEasy
Check If Two String Arrays are EquivalentEasy
Calculate Money in Leetcode BankEasy
Remove One Element to Make the Array Strictly IncreasingEasy
Minimum Bit Flips to Convert NumberEasy
Find Closest Number to ZeroEasy
Apply Transform Over Each Element in ArrayEasy
Number of Employees Who Met the TargetEasy
Find Words Containing CharacterEasy
Minimum Number of Moves to Seat EveryoneEasy
Degree of an ArrayEasy
Longest Strictly Increasing or Strictly Decreasing SubarrayEasy
Reshape Data: PivotEasy
Check if Two Chessboard Squares Have the Same ColorEasy
Uncommon Words from Two SentencesEasy
Sort ByEasy
Convert a Number to HexadecimalEasy
Alternating Groups IEasy
Maximum Ascending Subarray SumEasy
Group Sold Products By The DateEasy
N-ary Tree Preorder TraversalEasy
Get Maximum in Generated ArrayEasy
Minimum Recolors to Get K Consecutive Black BlocksEasy
Construct the RectangleEasy
Divide Array Into Equal PairsEasy
Maximum Number of Words You Can TypeEasy
Max Pair Sum in an ArrayEasy
Smallest Number With All Set BitsEasy
The Two Sneaky Numbers of DigitvilleEasy
Check if All the Integers in a Range Are CoveredEasy
Maximum Difference Between Adjacent Elements in a Circular ArrayEasy
Check if All Characters Have Equal Number of OccurrencesEasy
Minimum Distance Between BST NodesEasy
Find Closest PersonEasy
Find Most Frequent Vowel and ConsonantEasy
Count Largest GroupEasy
Minimum Operations to Make Array Sum Divisible by KEasy
Count Operations to Obtain ZeroEasy
Height CheckerEasy
Convert 1D Array Into 2D ArrayEasy
Time Needed to Buy TicketsEasy
Convert the TemperatureEasy
Minimum Operations to Make the Array IncreasingEasy
Longest Nice SubstringEasy
Binary Tree TiltEasy
Surface Area of 3D ShapesEasy
Check Balanced StringEasy
Patients With a ConditionEasy
Count Odd Numbers in an Interval RangeEasy
Minimum Time Visiting All PointsEasy
Unique Email AddressesEasy
Longest Subsequence With Limited SumEasy
Count the Digits That Divide a NumberEasy
Find Minimum Operations to Make All Elements Divisible by ThreeEasy
Sign of the Product of an ArrayEasy
Find Followers CountEasy
Find Mode in Binary Search TreeEasy
Subtract the Product and Sum of Digits of an IntegerEasy
Customer Placing the Largest Number of OrdersEasy
Missing Number In Arithmetic ProgressionEasy
Matrix Similarity After Cyclic ShiftsEasy
Minimum Distance Between Three Equal Elements IEasy
Hamming DistanceEasy
Sales PersonEasy
Create Target Array in the Given OrderEasy
Sum of All Odd Length SubarraysEasy
Special Array With X Elements Greater Than or Equal XEasy
Maximum Repeating SubstringEasy
Count Items Matching a RuleEasy
Function CompositionEasy
Difference Between Element Sum and Digit Sum of an ArrayEasy
Maximum Odd Binary NumberEasy
Remove Digit From Number to Maximize ResultEasy
Special Array IEasy
Find a Corresponding Node of a Binary Tree in a Clone of That TreeEasy
Make Two Arrays Equal by Reversing SubarraysEasy
Final Array State After K Multiplication Operations IEasy
Two Sum III - Data structure designEasy
Number of Changing KeysEasy
Button with Longest Push TimeEasy
Check If a Word Occurs As a Prefix of Any Word in a SentenceEasy
Maximum Sum With Exactly K ElementsEasy
Increasing Decreasing StringEasy
Check if Matrix Is X-MatrixEasy
Merge Two 2D Arrays by Summing ValuesEasy
Find Common Elements Between Two ArraysEasy
Take Gifts From the Richest PileEasy
Number of Common FactorsEasy
Maximum Value of an Ordered Triplet IEasy
Truncate SentenceEasy
Range Addition IIEasy
Minimum Cost to Move Chips to The Same PositionEasy
Find the Array Concatenation ValueEasy
Delete Greatest Value in Each RowEasy
Find Special Substring of Length KEasy
Find Lucky Integer in an ArrayEasy
Game Play Analysis IIEasy
Maximum Depth of N-ary TreeEasy
Maximum Difference by Remapping a DigitEasy
Find Valid Pair of Adjacent Digits in StringEasy
Buy Two ChocolatesEasy
Minimum Changes To Make Alternating Binary StringEasy
Reshape Data: MeltEasy
Minimum Number of Chairs in a Waiting RoomEasy
Alternating Digit SumEasy
Sorting the SentenceEasy
SleepEasy
Consecutive CharactersEasy
Count Partitions with Even Sum DifferenceEasy
Binary Prefix Divisible By 5Easy
Lucky Numbers in a MatrixEasy
Minimum Value to Get Positive Step by Step SumEasy
Find Greatest Common Divisor of ArrayEasy
Minimum Hours of Training to Win a CompetitionEasy
Ant on the BoundaryEasy
Unique Morse Code WordsEasy
Number ComplementEasy
Split Strings by SeparatorEasy
Special Positions in a Binary MatrixEasy
Sum of Variable Length SubarraysEasy
Add Two PromisesEasy
Distribute Elements Into Two Arrays IEasy
Reverse Only LettersEasy
Smallest Index With Equal ValueEasy
Sum of Digits of String After ConvertEasy
Student Attendance Record IEasy
Find the Distinct Difference ArrayEasy
Employees Whose Manager Left the CompanyEasy
Maximize Sum Of Array After K NegationsEasy

Showing 527 questions