Skip to content

Beki78/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

Array

0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0066-plus-one
0078-subsets
0108-convert-sorted-array-to-binary-search-tree
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0169-majority-element
0228-summary-ranges
0643-maximum-average-subarray-i
0682-baseball-game
0739-daily-temperatures
1019-squares-of-a-sorted-array
1044-find-common-characters
1421-find-numbers-with-even-number-of-digits
1482-how-many-numbers-are-smaller-than-the-current-number
1603-running-sum-of-1d-array
1635-number-of-good-pairs
2350-find-closest-number-to-zero
2442-number-of-arithmetic-triplets
2714-left-and-right-sum-differences
3515-find-if-digit-game-can-be-won

Hash Table

0013-roman-to-integer
0169-majority-element
0202-happy-number
0383-ransom-note
0782-jewels-and-stones
1044-find-common-characters
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
2427-first-letter-to-appear-twice
2442-number-of-arithmetic-triplets

Math

0002-add-two-numbers
0013-roman-to-integer
0029-divide-two-integers
0066-plus-one
0067-add-binary
0070-climbing-stairs
0202-happy-number
1635-number-of-good-pairs
3515-find-if-digit-game-can-be-won

Counting

0169-majority-element
0383-ransom-note
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
2427-first-letter-to-appear-twice

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0125-valid-palindrome
0202-happy-number
0344-reverse-string
0392-is-subsequence
0874-backspace-string-compare
1019-squares-of-a-sorted-array
1894-merge-strings-alternately
2442-number-of-arithmetic-triplets

Enumeration

2442-number-of-arithmetic-triplets

Sorting

0169-majority-element
1019-squares-of-a-sorted-array
1482-how-many-numbers-are-smaller-than-the-current-number

String

0006-zigzag-conversion
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0067-add-binary
0125-valid-palindrome
0344-reverse-string
0383-ransom-note
0392-is-subsequence
0782-jewels-and-stones
0874-backspace-string-compare
1044-find-common-characters
1128-remove-all-adjacent-duplicates-in-string
1894-merge-strings-alternately
2427-first-letter-to-appear-twice

Stack

0020-valid-parentheses
0094-binary-tree-inorder-traversal
0682-baseball-game
0739-daily-temperatures
0874-backspace-string-compare
1128-remove-all-adjacent-duplicates-in-string

Simulation

0067-add-binary
0682-baseball-game
0874-backspace-string-compare

Divide and Conquer

0108-convert-sorted-array-to-binary-search-tree
0169-majority-element

Bit Manipulation

0029-divide-two-integers
0067-add-binary
0078-subsets
2427-first-letter-to-appear-twice

Monotonic Stack

0739-daily-temperatures

Prefix Sum

1603-running-sum-of-1d-array
2714-left-and-right-sum-differences

Dynamic Programming

0070-climbing-stairs
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0392-is-subsequence

Sliding Window

0643-maximum-average-subarray-i

Linked List

0002-add-two-numbers
0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists

Binary Search

0035-search-insert-position

String Matching

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

Memoization

0070-climbing-stairs

Trie

0014-longest-common-prefix

Backtracking

0078-subsets

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree

Breadth-First Search

0100-same-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree

Binary Search Tree

0108-convert-sorted-array-to-binary-search-tree

About

My leetcode solutions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published