Easy LeetCode Questions

Easy

808 unique questions sorted by company popularity

Top Companies

Questions

TitleCompanies
Two Sum129
Valid Parentheses119
Best Time to Buy and Sell Stock104
Longest Common Prefix57
Move Zeroes49
Roman to Integer45
Merge Sorted Array42
Valid Palindrome42
Valid Anagram41
Merge Two Sorted Lists40
Climbing Stairs38
Reverse Linked List36
Palindrome Number35
Happy Number31
Remove Duplicates from Sorted Array28
First Unique Character in a String25
Linked List Cycle25
Contains Duplicate23
Majority Element22
Isomorphic Strings21
Missing Number21
Intersection of Two Arrays20
Count Binary Substrings20
Pascal's Triangle19
Find Pivot Index19
Squares of a Sorted Array19
Sqrt(x)19
Diameter of Binary Tree19
Is Subsequence19
Fizz Buzz19
Logger Rate Limiter19
Fibonacci Number18
Palindrome Linked List18
Next Greater Element I17
Maximum Product of Three Numbers17
Find the Index of the First Occurrence in a String17
Maximum Depth of Binary Tree16
Reverse String16
Can Place Flowers16
Valid Palindrome II16
Remove All Adjacent Duplicates In String16
Intersection of Two Linked Lists15
Single Number15
Minimum Absolute Difference15
Backspace String Compare15
Add Strings15
Design HashMap15
Plus One14
Middle of the Linked List14
Contains Duplicate II14
Search Insert Position14
Last Stone Weight14
Sort Array by Increasing Frequency13
Max Consecutive Ones13
Rotate String13
Binary Search13
Add Binary13
Degree of an Array13
Reverse Vowels of a String12
Rising Temperature12
Merge Strings Alternately12
Symmetric Tree12
Power of Two12
Ransom Note12
Count Vowel Substrings of a String12
Employees Earning More Than Their Managers11
Add Digits11
Kth Largest Element in a Stream11
Create Hello World Function11
Invert Binary Tree11
Implement Queue using Stacks11
Flood Fill11
Number of Good Pairs10
Reverse Bits10
Convert Sorted Array to Binary Search Tree10
Add Two Integers10
Remove Element10
Remove Duplicates from Sorted List10
Excel Sheet Column Number10
Number of Recent Calls10
Balanced Binary Tree10
Path Sum10
Number of 1 Bits10
Summary Ranges10
Meeting Rooms10
Word Pattern10
Island Perimeter10
Maximum Average Subarray I10
Verifying an Alien Dictionary10
Convert Binary Number in a Linked List to Integer10
Replace Employee ID With The Unique Identifier10
Kth Missing Positive Number10
Check if Array Is Sorted and Rotated10
Assign Cookies9
Water Bottles9
Average Time of Process per Machine9
Find the Highest Altitude9
Same Tree9
Find All Numbers Disappeared in an Array9
To Be Or Not To Be9
Counting Bits9
Delete Duplicate Emails9
Remove Linked List Elements9
Implement Stack using Queues9
Moving Average from Data Stream9
Intersection of Two Arrays II9
Two Sum IV - Input is a BST9
Article Views I9
Maximum Population Year9
Closest Binary Search Tree Value9
Perfect Number8
Longest Palindrome8
Students and Examinations8
Invalid Tweets8
Find Customer Referee8
Search in a Binary Search Tree8
Running Sum of 1d Array8
Customer Who Visited but Did Not Make Any Transactions8
Jewels and Stones8
Greatest Common Divisor of Strings8
Length of Last Word8
Excel Sheet Column Title8
Shortest Word Distance8
Binary Tree Paths8
Range Sum Query - Immutable8
Power of Four8
Valid Word Abbreviation8
Third Maximum Number8
Repeated Substring Pattern8
Subtree of Another Tree8
Merge Two Binary Trees8
Sort Array By Parity8
Find Common Characters8
Product Sales Analysis I8
Find Resultant Array After Removing Anagrams8
Average Selling Price8
Recyclable and Low Fat Products8
Concatenation of Array8
Time Needed to Buy Tickets8
Count Elements With Maximum Frequency8
Valid Word8
Minimum Value to Get Positive Step by Step Sum8
Palindrome Permutation8
Find the Difference of Two Arrays7
Reverse String II7
First Bad Version7
Cousins in Binary Tree7
Count Complete Tree Nodes7
Duplicate Emails7
Ugly Number7
Valid Perfect Square7
Guess Number Higher or Lower7
Sum of Left Leaves7
Reverse Words in a String III7
Employee Bonus7
Longest Harmonious Subsequence7
Big Countries7
Transpose Matrix7
Fair Candy Swap7
Monotonic Array7
Find the Town Judge7
Divisor Game7
Height Checker7
Defanging an IP Address7
N-th Tribonacci Number7
Find Winner on a Tic Tac Toe Game7
Find Numbers with Even Number of Digits7
Maximum 69 Number7
Maximum Nesting Depth of the Parentheses7
Number of Students Unable to Eat Lunch7
Maximum Units on a Truck7
Count Number of Pairs With Absolute Difference K7
Minimum Bit Flips to Convert Number7
Count Pairs Whose Sum is Less than Target7
Longest Strictly Increasing or Strictly Decreasing Subarray7
Final Prices With a Special Discount in a Shop7
Find the Original Typed String I7
Reverse Only Letters7
Find Subsequence of Length K With the Largest Sum6
Find the Difference6
Largest Odd Number in String6
Nim Game6
Sum of All Subset XOR Totals6
Create a DataFrame from List6
Rank Transform of an Array6
N-Repeated Element in Size 2N Array6
Binary Tree Inorder Traversal6
Minimum Depth of Binary Tree6
Pascal's Triangle II6
Binary Tree Preorder Traversal6
Combine Two Tables6
Customers Who Never Order6
Power of Three6
Arranging Coins6
Array Partition6
Set Mismatch6
Image Smoother6
Baseball Game6
Find Smallest Letter Greater Than Target6
Design HashSet6

Showing 200 of 808 questions