Skip to content

Rizame/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

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

LeetCode Topics

Math

0002-add-two-numbers
0007-reverse-integer
0009-palindrome-number
0012-integer-to-roman
0013-roman-to-integer
0066-plus-one
0067-add-binary
0069-sqrtx
0070-climbing-stairs
0171-excel-sheet-column-number

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0006-zigzag-conversion
0012-integer-to-roman
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0022-generate-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0067-add-binary
0171-excel-sheet-column-number
0459-repeated-substring-pattern

Bit Manipulation

0067-add-binary
0136-single-number

Simulation

0067-add-binary
2551-apply-operations-to-an-array

Array

0001-two-sum
0011-container-with-most-water
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0066-plus-one
0088-merge-sorted-array
0108-convert-sorted-array-to-binary-search-tree
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0136-single-number
0169-majority-element
0229-majority-element-ii
1612-avoid-flood-in-the-city
2392-successful-pairs-of-spells-and-potions
2551-apply-operations-to-an-array
3236-smallest-missing-integer-greater-than-sequential-prefix-sum

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0012-integer-to-roman
0013-roman-to-integer
0169-majority-element
0229-majority-element-ii
1612-avoid-flood-in-the-city
3236-smallest-missing-integer-greater-than-sequential-prefix-sum

Binary Search

0035-search-insert-position
0069-sqrtx
1612-avoid-flood-in-the-city
2392-successful-pairs-of-spells-and-potions

Trie

0014-longest-common-prefix

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list

Recursion

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

Stack

0020-valid-parentheses
0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Two Pointers

0005-longest-palindromic-substring
0011-container-with-most-water
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
0088-merge-sorted-array
2392-successful-pairs-of-spells-and-potions
2551-apply-operations-to-an-array

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string
0459-repeated-substring-pattern

Sorting

0088-merge-sorted-array
0169-majority-element
0229-majority-element-ii
2392-successful-pairs-of-spells-and-potions
3236-smallest-missing-integer-greater-than-sequential-prefix-sum

Counting

0169-majority-element
0229-majority-element-ii

Dynamic Programming

0005-longest-palindromic-substring
0022-generate-parentheses
0070-climbing-stairs
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock

Divide and Conquer

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

Memoization

0070-climbing-stairs

Greedy

0011-container-with-most-water
1612-avoid-flood-in-the-city

Heap (Priority Queue)

1612-avoid-flood-in-the-city

Sliding Window

0003-longest-substring-without-repeating-characters

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-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
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-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
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum

Binary Search Tree

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

Backtracking

0022-generate-parentheses

About

A collection of LeetCode questions to ace the coding interview!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages