Skip to content

ifindary/LeetHub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetHub

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

LeetCode Topics

Math

0002-add-two-numbers
0013-roman-to-integer
0231-power-of-two
0412-fizz-buzz
1013-fibonacci-number
1195-distribute-candies-to-people
1421-find-numbers-with-even-number-of-digits
1444-number-of-steps-to-reduce-a-number-to-zero
1610-xor-operation-in-an-array
1806-count-of-matches-in-tournament
1993-sum-of-all-subset-xor-totals
2238-a-number-after-a-double-reversal
2383-add-two-integers
2650-split-with-minimum-sum
2663-distribute-money-to-maximum-children
2752-sum-multiples
2857-total-distance-traveled
3172-divisible-and-non-divisible-sums-difference
3450-find-the-child-who-has-the-ball-after-k-seconds
3515-find-if-digit-game-can-be-won

Array

0001-two-sum
0011-container-with-most-water
0035-search-insert-position
0119-pascals-triangle-ii
0136-single-number
0137-single-number-ii
0274-h-index
0283-move-zeroes
0506-relative-ranks
0575-distribute-candies
0682-baseball-game
0745-find-smallest-letter-greater-than-target
0878-shifting-letters
0890-lemonade-change
1421-find-numbers-with-even-number-of-digits
1482-how-many-numbers-are-smaller-than-the-current-number
1524-string-matching-in-an-array
1603-running-sum-of-1d-array
1651-shuffle-string
1791-richest-customer-wealth
1993-sum-of-all-subset-xor-totals
2042-maximum-product-difference-between-two-pairs
2058-concatenation-of-array
2099-number-of-strings-that-appear-as-substrings-in-word
2107-find-unique-binary-string
2159-two-out-of-three
2163-kth-distinct-string-in-an-array
2274-keep-multiplying-found-values-by-two
2283-sort-even-and-odd-indices-independently
2341-count-prefixes-of-a-given-string
2433-best-poker-hand
2692-take-gifts-from-the-richest-pile
3093-sum-of-values-at-indices-with-k-set-bits
3154-maximum-value-of-an-ordered-triplet-i
3263-divide-an-array-into-subarrays-with-minimum-cost-i
3415-check-if-grid-satisfies-conditions
3430-count-days-without-meetings
3515-find-if-digit-game-can-be-won

Prefix Sum

0878-shifting-letters
1603-running-sum-of-1d-array

Matrix

1791-richest-customer-wealth
3415-check-if-grid-satisfies-conditions

String

0013-roman-to-integer
0022-generate-parentheses
0383-ransom-note
0412-fizz-buzz
0438-find-all-anagrams-in-a-string
0459-repeated-substring-pattern
0557-reverse-words-in-a-string-iii
0782-jewels-and-stones
0874-backspace-string-compare
0878-shifting-letters
1434-decrypt-string-from-alphabet-to-integer-mapping
1524-string-matching-in-an-array
1651-shuffle-string
2099-number-of-strings-that-appear-as-substrings-in-word
2107-find-unique-binary-string
2163-kth-distinct-string-in-an-array
2337-remove-digit-from-number-to-maximize-result
2341-count-prefixes-of-a-given-string

Simulation

0412-fizz-buzz
0682-baseball-game
0874-backspace-string-compare
1195-distribute-candies-to-people
1806-count-of-matches-in-tournament
2058-concatenation-of-array
2274-keep-multiplying-found-values-by-two
2692-take-gifts-from-the-richest-pile
2857-total-distance-traveled
3450-find-the-child-who-has-the-ball-after-k-seconds

Bit Manipulation

0136-single-number
0137-single-number-ii
0191-number-of-1-bits
0231-power-of-two
1444-number-of-steps-to-reduce-a-number-to-zero
1610-xor-operation-in-an-array
1993-sum-of-all-subset-xor-totals
2159-two-out-of-three
3093-sum-of-values-at-indices-with-k-set-bits

Linked List

0002-add-two-numbers
0021-merge-two-sorted-lists
0908-middle-of-the-linked-list

Two Pointers

0011-container-with-most-water
0283-move-zeroes
0557-reverse-words-in-a-string-iii
0874-backspace-string-compare
0908-middle-of-the-linked-list

Hash Table

0001-two-sum
0013-roman-to-integer
0383-ransom-note
0438-find-all-anagrams-in-a-string
0575-distribute-candies
0782-jewels-and-stones
1482-how-many-numbers-are-smaller-than-the-current-number
2107-find-unique-binary-string
2159-two-out-of-three
2163-kth-distinct-string-in-an-array
2274-keep-multiplying-found-values-by-two
2433-best-poker-hand

Counting

0383-ransom-note
2163-kth-distinct-string-in-an-array
2433-best-poker-hand

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists
0231-power-of-two
1013-fibonacci-number

Dynamic Programming

0022-generate-parentheses
0119-pascals-triangle-ii
1013-fibonacci-number

Memoization

1013-fibonacci-number

Heap (Priority Queue)

0506-relative-ranks
2692-take-gifts-from-the-richest-pile

Greedy

0011-container-with-most-water
0890-lemonade-change
2337-remove-digit-from-number-to-maximize-result
2650-split-with-minimum-sum
2663-distribute-money-to-maximum-children

Tree

0111-minimum-depth-of-binary-tree

Depth-First Search

0111-minimum-depth-of-binary-tree

Breadth-First Search

0111-minimum-depth-of-binary-tree

Binary Tree

0111-minimum-depth-of-binary-tree

Sorting

0274-h-index
0506-relative-ranks
1482-how-many-numbers-are-smaller-than-the-current-number
2042-maximum-product-difference-between-two-pairs
2274-keep-multiplying-found-values-by-two
2283-sort-even-and-odd-indices-independently
2650-split-with-minimum-sum
3263-divide-an-array-into-subarrays-with-minimum-cost-i
3430-count-days-without-meetings

Stack

0682-baseball-game
0874-backspace-string-compare

Binary Search

0035-search-insert-position
0745-find-smallest-letter-greater-than-target

Backtracking

0022-generate-parentheses
1993-sum-of-all-subset-xor-totals
2107-find-unique-binary-string

Counting Sort

0274-h-index
1482-how-many-numbers-are-smaller-than-the-current-number

Enumeration

1993-sum-of-all-subset-xor-totals
2337-remove-digit-from-number-to-maximize-result
3263-divide-an-array-into-subarrays-with-minimum-cost-i

Sliding Window

0438-find-all-anagrams-in-a-string

Combinatorics

1993-sum-of-all-subset-xor-totals

Divide and Conquer

0191-number-of-1-bits

String Matching

0459-repeated-substring-pattern
1524-string-matching-in-an-array

About

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