Skip to content

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Notifications You must be signed in to change notification settings

salmanfaris22/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

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

LeetCode Topics

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0041-first-missing-positive
0066-plus-one
0075-sort-colors
0136-single-number
0179-largest-number
0268-missing-number
0283-move-zeroes
0414-third-maximum-number
0448-find-all-numbers-disappeared-in-an-array
0485-max-consecutive-ones
0496-next-greater-element-i
0503-next-greater-element-ii
0792-binary-search
0837-most-common-word
1031-add-to-array-form-of-integer
1241-decompress-run-length-encoded-list
1482-how-many-numbers-are-smaller-than-the-current-number
1528-kids-with-the-greatest-number-of-candies
1651-shuffle-string
1791-richest-customer-wealth
1944-truncate-sentence
2048-build-array-from-permutation
2058-concatenation-of-array
2106-find-greatest-common-divisor-of-array
2219-maximum-number-of-words-found-in-sentences
2624-difference-between-element-sum-and-digit-sum-of-an-array
2977-check-if-a-string-is-an-acronym-of-words
3226-minimum-number-game
3227-find-missing-and-repeated-values
3311-ant-on-the-boundary
3429-special-array-i
3555-final-array-state-after-k-multiplication-operations-i

Two Pointers

0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0075-sort-colors
0125-valid-palindrome
0141-linked-list-cycle
0283-move-zeroes
0908-middle-of-the-linked-list
0953-reverse-only-letters
2216-delete-the-middle-node-of-a-linked-list

Hash Table

0001-two-sum
0041-first-missing-positive
0141-linked-list-cycle
0268-missing-number
0389-find-the-difference
0448-find-all-numbers-disappeared-in-an-array
0496-next-greater-element-i
0837-most-common-word
1482-how-many-numbers-are-smaller-than-the-current-number
1960-check-if-the-sentence-is-pangram
3227-find-missing-and-repeated-values
3412-permutation-difference-between-two-strings

Math

0007-reverse-integer
0009-palindrome-number
0043-multiply-strings
0066-plus-one
0070-climbing-stairs
0231-power-of-two
0258-add-digits
0263-ugly-number
0268-missing-number
0326-power-of-three
0342-power-of-four
0371-sum-of-two-integers
0412-fizz-buzz
1031-add-to-array-form-of-integer
1411-convert-binary-number-in-a-linked-list-to-integer
1610-xor-operation-in-an-array
1806-count-of-matches-in-tournament
2032-largest-odd-number-in-string
2106-find-greatest-common-divisor-of-array
2298-count-integers-with-even-digit-sum
2383-add-two-integers
2624-difference-between-element-sum-and-digit-sum-of-an-array
2630-alternating-digit-sum
2903-insert-greatest-common-divisors-in-linked-list
3172-divisible-and-non-divisible-sums-difference
3227-find-missing-and-repeated-values
3371-harshad-number
3555-final-array-state-after-k-multiplication-operations-i

Binary Search

0035-search-insert-position
0268-missing-number
0792-binary-search

Bit Manipulation

0136-single-number
0231-power-of-two
0268-missing-number
0342-power-of-four
0371-sum-of-two-integers
0389-find-the-difference
1610-xor-operation-in-an-array

Sorting

0075-sort-colors
0179-largest-number
0268-missing-number
0389-find-the-difference
0414-third-maximum-number
1482-how-many-numbers-are-smaller-than-the-current-number
1970-sorting-the-sentence
3226-minimum-number-game

String

0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0043-multiply-strings
0058-length-of-last-word
0065-valid-number
0125-valid-palindrome
0179-largest-number
0389-find-the-difference
0412-fizz-buzz
0434-number-of-segments-in-a-string
0742-to-lower-case
0837-most-common-word
0953-reverse-only-letters
1341-split-a-string-in-balanced-strings
1651-shuffle-string
1797-goal-parser-interpretation
1944-truncate-sentence
1960-check-if-the-sentence-is-pangram
1970-sorting-the-sentence
2032-largest-odd-number-in-string
2219-maximum-number-of-words-found-in-sentences
2401-count-asterisks
2886-faulty-keyboard
2977-check-if-a-string-is-an-acronym-of-words
3312-number-of-changing-keys
3412-permutation-difference-between-two-strings

Greedy

0179-largest-number
1341-split-a-string-in-balanced-strings
2032-largest-odd-number-in-string

Number Theory

0258-add-digits
2106-find-greatest-common-divisor-of-array
2903-insert-greatest-common-divisors-in-linked-list

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Simulation

0043-multiply-strings
0258-add-digits
0412-fizz-buzz
1806-count-of-matches-in-tournament
2048-build-array-from-permutation
2058-concatenation-of-array
2298-count-integers-with-even-digit-sum
2886-faulty-keyboard
3226-minimum-number-game
3311-ant-on-the-boundary
3555-final-array-state-after-k-multiplication-operations-i

Matrix

1791-richest-customer-wealth
3227-find-missing-and-repeated-values

Prefix Sum

3311-ant-on-the-boundary

Heap (Priority Queue)

3226-minimum-number-game
3555-final-array-state-after-k-multiplication-operations-i

Counting

0837-most-common-word
1341-split-a-string-in-balanced-strings
1482-how-many-numbers-are-smaller-than-the-current-number

Depth-First Search

0386-lexicographical-numbers

Trie

0014-longest-common-prefix
0386-lexicographical-numbers

Stack

0020-valid-parentheses
0496-next-greater-element-i
0503-next-greater-element-ii

Linked List

0019-remove-nth-node-from-end-of-list
0083-remove-duplicates-from-sorted-list
0141-linked-list-cycle
0203-remove-linked-list-elements
0206-reverse-linked-list
0237-delete-node-in-a-linked-list
0908-middle-of-the-linked-list
1411-convert-binary-number-in-a-linked-list-to-integer
2216-delete-the-middle-node-of-a-linked-list
2903-insert-greatest-common-divisors-in-linked-list

Recursion

0203-remove-linked-list-elements
0206-reverse-linked-list
0231-power-of-two
0326-power-of-three
0342-power-of-four

Dynamic Programming

0070-climbing-stairs

Memoization

0070-climbing-stairs

Monotonic Stack

0496-next-greater-element-i
0503-next-greater-element-ii

Database

0595-big-countries
1258-article-views-i
1827-invalid-tweets

About

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published