Skip to content

deepikabalhara/LeetCode-Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

231 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Language Language Problems Status

🧩 LeetCode Daily Solutions

This repository contains my daily LeetCode problem-solving practice in Java.

πŸ“š Topics Covered

  • Arrays
  • Strings
  • Linked List
  • Stack
  • Queue
  • Trees
  • Graphs
  • Dynamic Programming

🎯 Goal

  • Improve problem-solving skills
  • Strengthen Data Structures and Algorithms
  • Prepare for coding interviews and placements

πŸ› οΈ Language Used

  • Java
  • C

πŸ“ Structure

Each folder is named by LeetCode problem number and title. Inside each folder you'll find the solution file in Java or C.

πŸ“Š Progress

Difficulty Count
🟒 Easy 12
🟑 Medium 26
πŸ”΄ Hard 9
Total 47

LeetCode Topics

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0014-longest-common-prefix
0027-remove-element
0033-search-in-rotated-sorted-array
0048-rotate-image
0088-merge-sorted-array
0153-find-minimum-in-rotated-sorted-array
0154-find-minimum-in-rotated-sorted-array-ii
1306-jump-game-iii
1340-jump-game-v
1345-jump-game-iv
1665-minimum-initial-energy-to-finish-tasks
1674-minimum-moves-to-make-array-complementary
1752-check-if-array-is-sorted-and-rotated
1861-rotating-the-box
1914-cyclically-rotating-a-grid
2126-destroying-asteroids
2144-minimum-cost-of-buying-candies-with-discount
2161-partition-array-according-to-given-pivot
2196-create-binary-tree-from-descriptions
2540-minimum-common-value
2553-separate-the-digits-in-an-array
2574-left-and-right-sum-differences
2657-find-the-prefix-common-array-of-two-arrays
2770-maximum-number-of-jumps-to-reach-the-last-index
2784-check-if-array-is-good
3043-find-the-length-of-the-longest-common-prefix
3093-longest-common-suffix-queries
3161-block-placement-queries
3300-minimum-element-after-replacement-with-digit-sum
3629-minimum-jumps-to-reach-end-via-prime-teleportation
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii
3660-jump-game-ix
3689-maximum-total-subarray-value-i
3691-maximum-total-subarray-value-ii

Greedy

1665-minimum-initial-energy-to-finish-tasks
2126-destroying-asteroids
2144-minimum-cost-of-buying-candies-with-discount
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii
3689-maximum-total-subarray-value-i
3691-maximum-total-subarray-value-ii

Sorting

0088-merge-sorted-array
1340-jump-game-v
1665-minimum-initial-energy-to-finish-tasks
2126-destroying-asteroids
2144-minimum-cost-of-buying-candies-with-discount
2784-check-if-array-is-good
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii

Dynamic Programming

1340-jump-game-v
1871-jump-game-vii
2770-maximum-number-of-jumps-to-reach-the-last-index
3660-jump-game-ix
3751-total-waviness-of-numbers-in-range-i
3753-total-waviness-of-numbers-in-range-ii

String

0003-longest-substring-without-repeating-characters
0014-longest-common-prefix
0796-rotate-string
1871-jump-game-vii
3043-find-the-length-of-the-longest-common-prefix
3093-longest-common-suffix-queries
3120-count-the-number-of-special-characters-i
3121-count-the-number-of-special-characters-ii

String Matching

0796-rotate-string

Math

0002-add-two-numbers
0007-reverse-integer
0048-rotate-image
3300-minimum-element-after-replacement-with-digit-sum
3558-number-of-ways-to-assign-edge-weights-i
3629-minimum-jumps-to-reach-end-via-prime-teleportation
3751-total-waviness-of-numbers-in-range-i
3753-total-waviness-of-numbers-in-range-ii

Matrix

0048-rotate-image
1861-rotating-the-box
1914-cyclically-rotating-a-grid

Linked List

0002-add-two-numbers
0061-rotate-list

Two Pointers

0027-remove-element
0061-rotate-list
0088-merge-sorted-array
1861-rotating-the-box
2161-partition-array-according-to-given-pivot
2540-minimum-common-value
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
1345-jump-game-iv
1674-minimum-moves-to-make-array-complementary
2196-create-binary-tree-from-descriptions
2540-minimum-common-value
2657-find-the-prefix-common-array-of-two-arrays
2784-check-if-array-is-good
3043-find-the-length-of-the-longest-common-prefix
3120-count-the-number-of-special-characters-i
3121-count-the-number-of-special-characters-ii
3629-minimum-jumps-to-reach-end-via-prime-teleportation

Breadth-First Search

1306-jump-game-iii
1345-jump-game-iv
3629-minimum-jumps-to-reach-end-via-prime-teleportation

Number Theory

3629-minimum-jumps-to-reach-end-via-prime-teleportation

Simulation

1914-cyclically-rotating-a-grid
2161-partition-array-according-to-given-pivot
2553-separate-the-digits-in-an-array

Recursion

0002-add-two-numbers

Prefix Sum

1674-minimum-moves-to-make-array-complementary
1871-jump-game-vii
2574-left-and-right-sum-differences

Binary Search

0004-median-of-two-sorted-arrays
0033-search-in-rotated-sorted-array
0153-find-minimum-in-rotated-sorted-array
0154-find-minimum-in-rotated-sorted-array-ii
2540-minimum-common-value
3161-block-placement-queries
3633-earliest-finish-time-for-land-and-water-rides-i
3635-earliest-finish-time-for-land-and-water-rides-ii

Sliding Window

0003-longest-substring-without-repeating-characters
1871-jump-game-vii

Divide and Conquer

0004-median-of-two-sorted-arrays

Depth-First Search

1306-jump-game-iii
3558-number-of-ways-to-assign-edge-weights-i

Bit Manipulation

2657-find-the-prefix-common-array-of-two-arrays

Trie

0014-longest-common-prefix
3043-find-the-length-of-the-longest-common-prefix
3093-longest-common-suffix-queries

Binary Indexed Tree

3161-block-placement-queries

Segment Tree

3161-block-placement-queries
3691-maximum-total-subarray-value-ii

Enumeration

3751-total-waviness-of-numbers-in-range-i

Tree

2196-create-binary-tree-from-descriptions
3558-number-of-ways-to-assign-edge-weights-i

Binary Tree

2196-create-binary-tree-from-descriptions

Heap (Priority Queue)

3691-maximum-total-subarray-value-ii

πŸ‘©β€πŸ’» About

Hi, I'm Deepika! I solve LeetCode problems daily to strengthen my DSA skills and prepare for placements.

About

LeetCode grind πŸ’ͺ| Java & C

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors