Leetcode Programs for practice

Leet Code Problems: –

๐ŸŸข Level 1: Absolute Beginner (Math, Conditions, Simple Loops)

(Perfect if you just learned for, while, if-else)

  1. Fizz Buzz
    https://leetcode.com/problems/fizz-buzz/
  2. Number of Steps to Reduce a Number to Zero
    https://leetcode.com/problems/number-of-steps-to-reduce-a-number-to-zero/
  3. Subtract the Product and Sum of Digits of an Integer
    https://leetcode.com/problems/subtract-the-product-and-sum-of-digits-of-an-integer/
  4. Add Digits
    https://leetcode.com/problems/add-digits/
  5. Palindrome Number
    https://leetcode.com/problems/palindrome-number/
  6. Reverse Integer
    https://leetcode.com/problems/reverse-integer/
  7. Count the Digits That Divide a Number
    https://leetcode.com/problems/count-the-digits-that-divide-a-number/
  8. Sum of Digits in Base K
    https://leetcode.com/problems/sum-of-digits-in-base-k/
  9. Self Dividing Numbers
    https://leetcode.com/problems/self-dividing-numbers/
  10. Average Salary Excluding the Minimum and Maximum Salary
    https://leetcode.com/problems/average-salary-excluding-the-minimum-and-maximum-salary/

๐ŸŸก Level 2: Beginner with Loops (Counting, Patterns, Digit Logic)

  1. Count of Matches in Tournament
    https://leetcode.com/problems/count-of-matches-in-tournament/
  2. Maximum 69 Number
    https://leetcode.com/problems/maximum-69-number/
  3. Find the Difference of Two Arrays
    https://leetcode.com/problems/find-the-difference-of-two-arrays/
  4. Power of Two
    https://leetcode.com/problems/power-of-two/
  5. Power of Three
    https://leetcode.com/problems/power-of-three/
  6. Power of Four
    https://leetcode.com/problems/power-of-four/
  7. Count Primes
    https://leetcode.com/problems/count-primes/
  8. Happy Number
    https://leetcode.com/problems/happy-number/
  9. Perfect Number
    https://leetcode.com/problems/perfect-number/
  10. Check If It Is a Straight Line
    https://leetcode.com/problems/check-if-it-is-a-straight-line/

๐ŸŸ  Level 3: Loops + Strings (No advanced data structures)

  1. Length of Last Word
    https://leetcode.com/problems/length-of-last-word/
  2. Valid Palindrome
    https://leetcode.com/problems/valid-palindrome/
  3. Reverse String
    https://leetcode.com/problems/reverse-string/
  4. Reverse Words in a String III
    https://leetcode.com/problems/reverse-words-in-a-string-iii/
  5. Detect Capital
    https://leetcode.com/problems/detect-capital/
  6. To Lower Case
    https://leetcode.com/problems/to-lower-case/
  7. Count Items Matching a Rule
    https://leetcode.com/problems/count-items-matching-a-rule/
  8. Goal Parser Interpretation
    https://leetcode.com/problems/goal-parser-interpretation/
  9. Split a String in Balanced Strings
    https://leetcode.com/problems/split-a-string-in-balanced-strings/
  10. Decrypt String from Alphabet to Integer Mapping
    https://leetcode.com/problems/decrypt-string-from-alphabet-to-integer-mapping/

๐Ÿ”ต Level 4: Early Intermediate (Loops + Basic Logic Thinking)

  1. Two Sum (brute force using loops)
    https://leetcode.com/problems/two-sum/
  2. Find Greatest Common Divisor of Array
    https://leetcode.com/problems/find-greatest-common-divisor-of-array/
  3. Count Good Triplets
    https://leetcode.com/problems/count-good-triplets/
  4. Find Numbers with Even Number of Digits
    https://leetcode.com/problems/find-numbers-with-even-number-of-digits/
  5. Richest Customer Wealth
    https://leetcode.com/problems/richest-customer-wealth/
  6. Find the Highest Altitude
    https://leetcode.com/problems/find-the-highest-altitude/
  7. Running Sum of 1d Array
    https://leetcode.com/problems/running-sum-of-1d-array/
  8. Shuffle the Array
    https://leetcode.com/problems/shuffle-the-array/
  9. Kids With the Greatest Number of Candies
    https://leetcode.com/problems/kids-with-the-greatest-number-of-candies/
  10. Number of Good Pairs
    https://leetcode.com/problems/number-of-good-pairs/

๐Ÿ”ด Level 5: Beginner โ†’ Intermediate Bridge

  1. Move Zeroes
    https://leetcode.com/problems/move-zeroes/
  2. Plus One
    https://leetcode.com/problems/plus-one/
  3. Remove Duplicates from Sorted Array
    https://leetcode.com/problems/remove-duplicates-from-sorted-array/
  4. Remove Element
    https://leetcode.com/problems/remove-element/
  5. Squares of a Sorted Array
    https://leetcode.com/problems/squares-of-a-sorted-array/
  6. Check If Array Is Sorted and Rotated
    https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/
  7. Find Pivot Index
    https://leetcode.com/problems/find-pivot-index/
  8. Find the Difference
    https://leetcode.com/problems/find-the-difference/
  9. Find the Town Judge
    https://leetcode.com/problems/find-the-town-judge/
  10. Missing Number
    https://leetcode.com/problems/missing-number/

1 Comment

Leave a Reply

Your email address will not be published. Required fields are marked *