Skip to content

282niyam404/DSA-leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Linked List

0019-remove-nth-node-from-end-of-list
0141-linked-list-cycle
0203-remove-linked-list-elements
0206-reverse-linked-list
0908-middle-of-the-linked-list

Two Pointers

0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0125-valid-palindrome
0141-linked-list-cycle
0344-reverse-string
0861-flipping-an-image
0874-backspace-string-compare
0908-middle-of-the-linked-list
0941-sort-array-by-parity
1019-squares-of-a-sorted-array
2231-find-first-palindromic-string-in-the-array
2917-count-pairs-whose-sum-is-less-than-target

Recursion

0203-remove-linked-list-elements
0206-reverse-linked-list
1013-fibonacci-number

Array

0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0448-find-all-numbers-disappeared-in-an-array
0682-baseball-game
0822-unique-morse-code-words
0861-flipping-an-image
0941-sort-array-by-parity
1019-squares-of-a-sorted-array
1137-height-checker
1319-unique-number-of-occurrences
1392-find-the-difference-of-two-arrays
1476-count-negative-numbers-in-a-sorted-matrix
1556-make-two-arrays-equal-by-reversing-subarrays
1560-number-of-students-doing-homework-at-a-given-time
1603-running-sum-of-1d-array
1651-shuffle-string
1677-matrix-diagonal-sum
1720-crawler-log-folder
1833-find-the-highest-altitude
1899-count-items-matching-a-rule
1944-truncate-sentence
2210-find-target-indices-after-sorting-array
2219-maximum-number-of-words-found-in-sentences
2231-find-first-palindromic-string-in-the-array
2292-counting-words-with-a-given-prefix
2308-divide-array-into-equal-pairs
2542-average-value-of-even-numbers-that-are-divisible-by-three
2639-separate-the-digits-in-an-array
2654-count-the-number-of-vowel-strings-in-range
2714-left-and-right-sum-differences
2727-number-of-senior-citizens
2836-neither-minimum-nor-maximum
2917-count-pairs-whose-sum-is-less-than-target
2977-check-if-a-string-is-an-acronym-of-words
3194-find-words-containing-character
3582-find-indices-of-stable-mountains

Hash Table

0141-linked-list-cycle
0290-word-pattern
0383-ransom-note
0387-first-unique-character-in-a-string
0389-find-the-difference
0448-find-all-numbers-disappeared-in-an-array
0822-unique-morse-code-words
1319-unique-number-of-occurrences
1392-find-the-difference-of-two-arrays
1556-make-two-arrays-equal-by-reversing-subarrays
1960-check-if-the-sentence-is-pangram
2053-check-if-all-characters-have-equal-number-of-occurrences
2308-divide-array-into-equal-pairs
2406-decode-the-message
2825-minimize-string-length

Bit Manipulation

0067-add-binary
0389-find-the-difference
0861-flipping-an-image
2308-divide-array-into-equal-pairs

Counting

0383-ransom-note
0387-first-unique-character-in-a-string
1823-determine-if-string-halves-are-alike
2053-check-if-all-characters-have-equal-number-of-occurrences
2308-divide-array-into-equal-pairs
2654-count-the-number-of-vowel-strings-in-range

String

0014-longest-common-prefix
0020-valid-parentheses
0067-add-binary
0125-valid-palindrome
0290-word-pattern
0344-reverse-string
0383-ransom-note
0387-first-unique-character-in-a-string
0389-find-the-difference
0742-to-lower-case
0822-unique-morse-code-words
0874-backspace-string-compare
1128-remove-all-adjacent-duplicates-in-string
1205-defanging-an-ip-address
1651-shuffle-string
1666-make-the-string-great
1720-crawler-log-folder
1823-determine-if-string-halves-are-alike
1899-count-items-matching-a-rule
1944-truncate-sentence
1954-replace-all-digits-with-characters
1960-check-if-the-sentence-is-pangram
1970-sorting-the-sentence
2053-check-if-all-characters-have-equal-number-of-occurrences
2168-check-if-numbers-are-ascending-in-a-sentence
2219-maximum-number-of-words-found-in-sentences
2231-find-first-palindromic-string-in-the-array
2292-counting-words-with-a-given-prefix
2406-decode-the-message
2470-removing-stars-from-a-string
2654-count-the-number-of-vowel-strings-in-range
2727-number-of-senior-citizens
2819-remove-trailing-zeros-from-a-string
2825-minimize-string-length
2977-check-if-a-string-is-an-acronym-of-words
3194-find-words-containing-character
3447-clear-digits
3636-check-balanced-string

Queue

0225-implement-stack-using-queues
0232-implement-queue-using-stacks
0387-first-unique-character-in-a-string

Sorting

0389-find-the-difference
0941-sort-array-by-parity
1019-squares-of-a-sorted-array
1137-height-checker
1556-make-two-arrays-equal-by-reversing-subarrays
1970-sorting-the-sentence
2210-find-target-indices-after-sorting-array
2836-neither-minimum-nor-maximum
2917-count-pairs-whose-sum-is-less-than-target

Stack

0020-valid-parentheses
0225-implement-stack-using-queues
0232-implement-queue-using-stacks
0682-baseball-game
0874-backspace-string-compare
1128-remove-all-adjacent-duplicates-in-string
1666-make-the-string-great
1720-crawler-log-folder
2470-removing-stars-from-a-string
3447-clear-digits

Simulation

0067-add-binary
0682-baseball-game
0861-flipping-an-image
0874-backspace-string-compare
2470-removing-stars-from-a-string
2639-separate-the-digits-in-an-array
3447-clear-digits

Trie

0014-longest-common-prefix

Design

0225-implement-stack-using-queues
0232-implement-queue-using-stacks

Math

0067-add-binary
1013-fibonacci-number
1448-maximum-69-number
2238-a-number-after-a-double-reversal
2507-number-of-common-factors
2542-average-value-of-even-numbers-that-are-divisible-by-three
2571-find-the-pivot-integer
3371-harshad-number
3817-maximum-containers-on-a-ship

Dynamic Programming

1013-fibonacci-number

Memoization

1013-fibonacci-number

Prefix Sum

1603-running-sum-of-1d-array
1833-find-the-highest-altitude
2571-find-the-pivot-integer
2714-left-and-right-sum-differences

Binary Search

1476-count-negative-numbers-in-a-sorted-matrix
2210-find-target-indices-after-sorting-array
2917-count-pairs-whose-sum-is-less-than-target

String Matching

2292-counting-words-with-a-given-prefix

Matrix

0861-flipping-an-image
1476-count-negative-numbers-in-a-sorted-matrix
1677-matrix-diagonal-sum

Counting Sort

1137-height-checker

Greedy

1448-maximum-69-number

Enumeration

2507-number-of-common-factors

Number Theory

2507-number-of-common-factors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages