Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

100 Easy LeetCode Problems

Basic Array Problems


Two Sum - https://leetcode.com/problems/two-sum/

Best Time to Buy and Sell Stock - https://leetcode.com/problems/best-time-to-buy-and-


sell-stock/

Remove Duplicates from Sorted Array - https://leetcode.com/problems/remove-


duplicates-from-sorted-array/

Contains Duplicate - https://leetcode.com/problems/contains-duplicate/

Single Number - https://leetcode.com/problems/single-number/

Intersection of Two Arrays II - https://leetcode.com/problems/intersection-of-two-arrays-


ii/

Plus One - https://leetcode.com/problems/plus-one/

Move Zeroes - https://leetcode.com/problems/move-zeroes/

Majority Element - https://leetcode.com/problems/majority-element/

Rotate Array - https://leetcode.com/problems/rotate-array/

Basic String Problems


Valid Anagram - https://leetcode.com/problems/valid-anagram/

Valid Parentheses - https://leetcode.com/problems/valid-parentheses/

First Unique Character in a String - https://leetcode.com/problems/first-unique-character-


in-a-string/

Reverse String - https://leetcode.com/problems/reverse-string/

Reverse Integer - https://leetcode.com/problems/reverse-integer/

Palindrome Number - https://leetcode.com/problems/palindrome-number/

Implement strStr() - https://leetcode.com/problems/implement-strstr/

Longest Common Prefix - https://leetcode.com/problems/longest-common-prefix/

Add Binary - https://leetcode.com/problems/add-binary/


Count and Say - https://leetcode.com/problems/count-and-say/

Basic Linked List Problems


Merge Two Sorted Lists - https://leetcode.com/problems/merge-two-sorted-lists/

Reverse Linked List - https://leetcode.com/problems/reverse-linked-list/

Linked List Cycle - https://leetcode.com/problems/linked-list-cycle/

Remove Linked List Elements - https://leetcode.com/problems/remove-linked-list-


elements/

Palindrome Linked List - https://leetcode.com/problems/palindrome-linked-list/

Intersection of Two Linked Lists - https://leetcode.com/problems/intersection-of-two-


linked-lists/

Delete Node in a Linked List - https://leetcode.com/problems/delete-node-in-a-linked-list/

Middle of the Linked List - https://leetcode.com/problems/middle-of-the-linked-list/

Convert Binary Number in a Linked List to Integer -


https://leetcode.com/problems/convert-binary-number-in-a-linked-list-to-integer/

Remove Duplicates from Sorted List - https://leetcode.com/problems/remove-duplicates-


from-sorted-list/

Basic Math Problems


Add Digits - https://leetcode.com/problems/add-digits/

Power of Two - https://leetcode.com/problems/power-of-two/

Roman to Integer - https://leetcode.com/problems/roman-to-integer/

Fizz Buzz - https://leetcode.com/problems/fizz-buzz/

Excel Sheet Column Number - https://leetcode.com/problems/excel-sheet-column-


number/

Happy Number - https://leetcode.com/problems/happy-number/

Missing Number - https://leetcode.com/problems/missing-number/

Sum of Two Integers - https://leetcode.com/problems/sum-of-two-integers/

Number of 1 Bits - https://leetcode.com/problems/number-of-1-bits/


Factorial Trailing Zeroes - https://leetcode.com/problems/factorial-trailing-zeroes/

Basic Tree Problems


Maximum Depth of Binary Tree - https://leetcode.com/problems/maximum-depth-of-
binary-tree/

Symmetric Tree - https://leetcode.com/problems/symmetric-tree/

Invert Binary Tree - https://leetcode.com/problems/invert-binary-tree/

Path Sum - https://leetcode.com/problems/path-sum/

Balanced Binary Tree - https://leetcode.com/problems/balanced-binary-tree/

Binary Tree Paths - https://leetcode.com/problems/binary-tree-paths/

Same Tree - https://leetcode.com/problems/same-tree/

Binary Tree Inorder Traversal - https://leetcode.com/problems/binary-tree-inorder-


traversal/

Minimum Depth of Binary Tree - https://leetcode.com/problems/minimum-depth-of-


binary-tree/

Convert Sorted Array to Binary Search Tree - https://leetcode.com/problems/convert-


sorted-array-to-binary-search-tree/

Basic Dynamic Programming Problems


Climbing Stairs - https://leetcode.com/problems/climbing-stairs/

Maximum Subarray - https://leetcode.com/problems/maximum-subarray/

House Robber - https://leetcode.com/problems/house-robber/

Min Cost Climbing Stairs - https://leetcode.com/problems/min-cost-climbing-stairs/

Fibonacci Number - https://leetcode.com/problems/fibonacci-number/

Pascal's Triangle - https://leetcode.com/problems/pascals-triangle/

Unique Paths - https://leetcode.com/problems/unique-paths/

Best Time to Buy and Sell Stock II - https://leetcode.com/problems/best-time-to-buy-and-


sell-stock-ii/

Nth Tribonacci Number - https://leetcode.com/problems/n-th-tribonacci-number/


Coin Change - https://leetcode.com/problems/coin-change/

Basic Bit Manipulation Problems


Hamming Distance - https://leetcode.com/problems/hamming-distance/

Single Number - https://leetcode.com/problems/single-number/

Number of 1 Bits - https://leetcode.com/problems/number-of-1-bits/

Power of Four - https://leetcode.com/problems/power-of-four/

Reverse Bits - https://leetcode.com/problems/reverse-bits/

Complement of Base 10 Integer - https://leetcode.com/problems/complement-of-base-10-


integer/

Convert a Number to Hexadecimal - https://leetcode.com/problems/convert-a-number-to-


hexadecimal/

Binary Number with Alternating Bits - https://leetcode.com/problems/binary-number-


with-alternating-bits/

Binary Gap - https://leetcode.com/problems/binary-gap/

Number Complement - https://leetcode.com/problems/number-complement/

Basic Search Problems


Binary Search - https://leetcode.com/problems/binary-search/

Intersection of Two Arrays - https://leetcode.com/problems/intersection-of-two-arrays/

Guess Number Higher or Lower - https://leetcode.com/problems/guess-number-higher-or-


lower/

First Bad Version - https://leetcode.com/problems/first-bad-version/

Find Peak Element - https://leetcode.com/problems/find-peak-element/

Search Insert Position - https://leetcode.com/problems/search-insert-position/

Search in Rotated Sorted Array - https://leetcode.com/problems/search-in-rotated-sorted-


array/

Find Minimum in Rotated Sorted Array - https://leetcode.com/problems/find-minimum-in-


rotated-sorted-array/
Find First and Last Position of Element in Sorted Array -
https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/

Search a 2D Matrix - https://leetcode.com/problems/search-a-2d-matrix/

Basic Sorting Problems


Sort Colors - https://leetcode.com/problems/sort-colors/

Merge Intervals - https://leetcode.com/problems/merge-intervals/

Sort Array By Parity - https://leetcode.com/problems/sort-array-by-parity/

Squares of a Sorted Array - https://leetcode.com/problems/squares-of-a-sorted-array/

Height Checker - https://leetcode.com/problems/height-checker/

Third Maximum Number - https://leetcode.com/problems/third-maximum-number/

Largest Number - https://leetcode.com/problems/largest-number/

Sort Characters By Frequency - https://leetcode.com/problems/sort-characters-by-


frequency/

Intersection of Two Arrays - https://leetcode.com/problems/intersection-of-two-arrays/

Find All Numbers Disappeared in an Array - https://leetcode.com/problems/find-all-


numbers-disappeared-in-an-array/

Basic Miscellaneous Problems


To Lower Case - https://leetcode.com/problems/to-lower-case/

Robot Return to Origin - https://leetcode.com/problems/robot-return-to-origin/

Range Sum of BST - https://leetcode.com/problems/range-sum-of-bst/

Leaf-Similar Trees - https://leetcode.com/problems/leaf-similar-trees/

Toeplitz Matrix - https://leetcode.com/problems/toeplitz-matrix/

Transpose Matrix - https://leetcode.com/problems/transpose-matrix/

Flipping an Image - https://leetcode.com/problems/flipping-an-image/

Reshape the Matrix - https://leetcode.com/problems/reshape-the-matrix/

Self Dividing Numbers - https://leetcode.com/problems/self-dividing-numbers/

Hamming Distance - https://leetcode.com/problems/hamming-distance/

You might also like