Easy LeetCode Questions

Easy

790 unique questions sorted by company popularity

Top Companies

Questions

TitleCompanies
Two Sum130
Valid Parentheses113
Best Time to Buy and Sell Stock98
Longest Common Prefix59
Move Zeroes43
Merge Two Sorted Lists41
Climbing Stairs41
Valid Anagram39
Merge Sorted Array38
Roman to Integer37
Valid Palindrome36
Reverse Linked List34
Happy Number30
Palindrome Number28
Remove Duplicates from Sorted Array25
Majority Element21
First Unique Character in a String21
Linked List Cycle20
Missing Number20
Fizz Buzz20
Diameter of Binary Tree20
Pascal's Triangle18
Find Pivot Index18
Logger Rate Limiter18
Contains Duplicate17
Maximum Depth of Binary Tree17
Sqrt(x)17
Intersection of Two Arrays16
Count Binary Substrings16
Next Greater Element I15
Squares of a Sorted Array15
Add Binary15
Can Place Flowers15
Isomorphic Strings15
Palindrome Linked List15
Find the Index of the First Occurrence in a String15
Fibonacci Number14
Is Subsequence14
Add Strings14
Valid Palindrome II14
Degree of an Array14
Contains Duplicate II13
Minimum Absolute Difference13
Backspace String Compare13
Symmetric Tree13
Maximum Product of Three Numbers13
Search Insert Position12
Single Number12
Reverse String12
Intersection of Two Linked Lists12
Ransom Note12
Remove All Adjacent Duplicates In String12
Plus One11
Middle of the Linked List11
Design HashMap11
Count Vowel Substrings of a String11
Max Consecutive Ones10
Rotate String10
Remove Element10
Merge Strings Alternately10
Flood Fill10
Implement Queue using Stacks10
Reverse Vowels of a String10
Last Stone Weight10
Moving Average from Data Stream10
Convert Sorted Array to Binary Search Tree9
Rising Temperature9
Add Two Integers9
Kth Largest Element in a Stream9
Balanced Binary Tree9
Same Tree9
Binary Search9
Create Hello World Function9
Power of Two9
Path Sum9
Number of 1 Bits9
Assign Cookies8
Sort Array by Increasing Frequency8
Number of Good Pairs8
Kth Missing Positive Number8
Meeting Rooms8
Maximum Average Subarray I8
Implement Stack using Queues8
Island Perimeter8
Excel Sheet Column Number8
Maximum Product of Two Elements in an Array8
Time Needed to Buy Tickets8
Employees Earning More Than Their Managers7
Average Time of Process per Machine7
Add Digits7
Reverse Bits7
Binary Tree Inorder Traversal7
Remove Duplicates from Sorted List7
Word Pattern7
Number of Recent Calls7
Length of Last Word7
Excel Sheet Column Title7
Counting Bits7
Maximum Units on a Truck7
Repeated Substring Pattern7
Valid Word Abbreviation7
Shortest Word Distance7
Verifying an Alien Dictionary7
Convert Binary Number in a Linked List to Integer7
Closest Binary Search Tree Value7
Water Bottles6
Perfect Number6
Longest Palindrome6
Find the Difference of Two Arrays6
Article Views I6
Invalid Tweets6
Customer Who Visited but Did Not Make Any Transactions6
Check if Array Is Sorted and Rotated6
Recyclable and Low Fat Products6
Minimum Depth of Binary Tree6
Remove Linked List Elements6
Greatest Common Divisor of Strings6
Ugly Number6
Two Sum IV - Input is a BST6
Summary Ranges6
Invert Binary Tree6
Binary Gap6
Find Resultant Array After Removing Anagrams6
Subtree of Another Tree6
Count Elements With Maximum Frequency6
Third Maximum Number6
Replace Employee ID With The Unique Identifier6
Transpose Matrix6
Binary Tree Paths6
Power of Four6
Valid Word6
Find the Original Typed String I6
Sort Array By Parity6
Minimum String Length After Removing Substrings6
Maximum 69 Number6
Maximum Repeating Substring6
Minimum Value to Get Positive Step by Step Sum6
Find Subsequence of Length K With the Largest Sum5
N-th Tribonacci Number5
Sum of All Subset XOR Totals5
To Be Or Not To Be5
Cousins in Binary Tree5
Count Complete Tree Nodes5
Reformat Date5
N-Repeated Element in Size 2N Array5
Students and Examinations5
First Bad Version5
Find Common Characters5
Min Cost Climbing Stairs5
Maximum Nesting Depth of the Parentheses5
Reverse Words in a String III5
Product Sales Analysis I5
Range Sum Query - Immutable5
Set Mismatch5
Duplicate Emails5
Lemonade Change5
Final Prices With a Special Discount in a Shop5
Design Parking System5
Intersection of Two Arrays II5
Monotonic Array5
Find All Numbers Disappeared in an Array5
Valid Mountain Array5
Valid Perfect Square5
Range Sum of BST5
Kids With the Greatest Number of Candies5
Employee Bonus5
Delete Duplicate Emails5
Find the Town Judge5
Percentage of Users Attended a Contest5
Longest Harmonious Subsequence5
Merge Two Binary Trees5
Find Winner on a Tic Tac Toe Game5
Pascal's Triangle II5
Find Smallest Letter Greater Than Target5
Divisor Game5
Defanging an IP Address5
Find Numbers with Even Number of Digits5
Maximum Difference Between Increasing Elements5
Relative Sort Array5
Maximum Population Year5
Fair Candy Swap5
Number of Steps to Reduce a Number to Zero5
Design HashSet5
Minimum Number of Pushes to Type Word I5
Longest Strictly Increasing or Strictly Decreasing Subarray5
Find Words That Can Be Formed by Characters5
Height Checker5
Special Array I5
Minimum Time Visiting All Points5
Unique Email Addresses5
Subtract the Product and Sum of Digits of an Integer5
Count Prefix and Suffix Pairs I5
Calculate Amount Paid in Taxes5
Largest Number After Digit Swaps by Parity5
Count Partitions with Even Sum Difference4
Find the Difference4
Largest Odd Number in String4
Reverse String II4
Final Value of Variable After Performing Operations4
Count Pairs Of Similar Strings4

Showing 200 of 790 questions