Skip to content

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Notifications You must be signed in to change notification settings

harinee05/LeetSolutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#LeetCode solutions

LeetCode Topics

Array

0011-container-with-most-water
0045-jump-game-ii
0055-jump-game
0121-best-time-to-buy-and-sell-stock
0139-word-break
0228-summary-ranges
0455-assign-cookies
0643-maximum-average-subarray-i
0921-spiral-matrix-iii
0948-sort-an-array
1184-car-pooling
1256-rank-transform-of-an-array
1293-three-consecutive-odds
1720-crawler-log-folder
1741-sort-array-by-increasing-frequency
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2006-find-the-student-that-will-replace-the-chalk
2231-find-first-palindromic-string-in-the-array
2271-rearrange-array-elements-by-sign
2306-create-binary-tree-from-descriptions
2502-sort-the-people
2581-divide-players-into-teams-of-equal-skill
2755-extra-characters-in-a-string
2846-robot-collisions
3235-minimum-cost-to-convert-string-i
3262-find-polygon-with-the-largest-perimeter

Tree

0100-same-tree
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Depth-First Search

0100-same-tree
2217-step-by-step-directions-from-a-binary-tree-node-to-another

Breadth-First Search

0100-same-tree

Binary Tree

0100-same-tree
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2306-create-binary-tree-from-descriptions

Math

0070-climbing-stairs
1642-water-bottles
1951-find-the-winner-of-the-circular-game
2645-pass-the-pillow

Recursion

0394-decode-string
1951-find-the-winner-of-the-circular-game

Queue

1951-find-the-winner-of-the-circular-game

Simulation

0921-spiral-matrix-iii
1184-car-pooling
1642-water-bottles
1803-average-waiting-time
1951-find-the-winner-of-the-circular-game
2006-find-the-student-that-will-replace-the-chalk
2271-rearrange-array-elements-by-sign
2645-pass-the-pillow
2800-minimum-string-length-after-removing-substrings
2846-robot-collisions

Sorting

0242-valid-anagram
0455-assign-cookies
0726-number-of-atoms
0948-sort-an-array
1184-car-pooling
1256-rank-transform-of-an-array
1741-sort-array-by-increasing-frequency
2502-sort-the-people
2581-divide-players-into-teams-of-equal-skill
2846-robot-collisions
3262-find-polygon-with-the-largest-perimeter

Heap (Priority Queue)

0948-sort-an-array
1184-car-pooling

Prefix Sum

1184-car-pooling
2006-find-the-student-that-will-replace-the-chalk
3262-find-polygon-with-the-largest-perimeter

Two Pointers

0011-container-with-most-water
0455-assign-cookies
0567-permutation-in-string
2095-minimum-number-of-swaps-to-make-the-string-balanced
2231-find-first-palindromic-string-in-the-array
2271-rearrange-array-elements-by-sign
2581-divide-players-into-teams-of-equal-skill

String

0139-word-break
0242-valid-anagram
0394-decode-string
0438-find-all-anagrams-in-a-string
0567-permutation-in-string
0726-number-of-atoms
0957-minimum-add-to-make-parentheses-valid
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1818-maximum-score-from-removing-substrings
2095-minimum-number-of-swaps-to-make-the-string-balanced
2217-step-by-step-directions-from-a-binary-tree-node-to-another
2231-find-first-palindromic-string-in-the-array
2502-sort-the-people
2755-extra-characters-in-a-string
2800-minimum-string-length-after-removing-substrings
3235-minimum-cost-to-convert-string-i

Stack

0394-decode-string
0726-number-of-atoms
0957-minimum-add-to-make-parentheses-valid
1298-reverse-substrings-between-each-pair-of-parentheses
1720-crawler-log-folder
1818-maximum-score-from-removing-substrings
2095-minimum-number-of-swaps-to-make-the-string-balanced
2800-minimum-string-length-after-removing-substrings
2846-robot-collisions

Greedy

0011-container-with-most-water
0045-jump-game-ii
0055-jump-game
0455-assign-cookies
0957-minimum-add-to-make-parentheses-valid
1818-maximum-score-from-removing-substrings
2095-minimum-number-of-swaps-to-make-the-string-balanced
3262-find-polygon-with-the-largest-perimeter

Hash Table

0139-word-break
0242-valid-anagram
0438-find-all-anagrams-in-a-string
0567-permutation-in-string
0726-number-of-atoms
1256-rank-transform-of-an-array
1741-sort-array-by-increasing-frequency
2306-create-binary-tree-from-descriptions
2502-sort-the-people
2581-divide-players-into-teams-of-equal-skill
2755-extra-characters-in-a-string

Divide and Conquer

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Graph

3235-minimum-cost-to-convert-string-i

Shortest Path

3235-minimum-cost-to-convert-string-i

Matrix

0921-spiral-matrix-iii

Binary Search

2006-find-the-student-that-will-replace-the-chalk

Dynamic Programming

0045-jump-game-ii
0055-jump-game
0070-climbing-stairs
0121-best-time-to-buy-and-sell-stock
0139-word-break
2755-extra-characters-in-a-string

Trie

0139-word-break
2755-extra-characters-in-a-string

Memoization

0070-climbing-stairs
0139-word-break

Sliding Window

0438-find-all-anagrams-in-a-string
0567-permutation-in-string
0643-maximum-average-subarray-i

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published