Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

215 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My leetcode solutions!

LeetCode Topics

Math

0002-add-two-numbers
0007-reverse-integer
0009-palindrome-number
0013-roman-to-integer
0043-multiply-strings
0048-rotate-image
0066-plus-one
0268-missing-number

Hash Table

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0217-contains-duplicate
0219-contains-duplicate-ii
0268-missing-number
0349-intersection-of-two-arrays
0448-find-all-numbers-disappeared-in-an-array
0599-minimum-index-sum-of-two-lists
0645-set-mismatch
0697-degree-of-an-array

String

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0043-multiply-strings
0599-minimum-index-sum-of-two-lists

Stack

0020-valid-parentheses

Array

0026-remove-duplicates-from-sorted-array
0027-remove-element
0034-find-first-and-last-position-of-element-in-sorted-array
0048-rotate-image
0066-plus-one
0074-search-a-2d-matrix
0075-sort-colors
0118-pascals-triangle
0134-gas-station
0136-single-number
0217-contains-duplicate
0219-contains-duplicate-ii
0228-summary-ranges
0268-missing-number
0303-range-sum-query-immutable
0349-intersection-of-two-arrays
0414-third-maximum-number
0448-find-all-numbers-disappeared-in-an-array
0485-max-consecutive-ones
0495-teemo-attacking
0506-relative-ranks
0599-minimum-index-sum-of-two-lists
0645-set-mismatch
0697-degree-of-an-array

Bit Manipulation

0136-single-number
0191-number-of-1-bits
0222-count-complete-tree-nodes
0268-missing-number
0397-integer-replacement
0645-set-mismatch

Depth-First Search

0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0116-populating-next-right-pointers-in-each-node
0501-find-mode-in-binary-search-tree
0871-keys-and-rooms
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
2121-find-if-path-exists-in-graph

Breadth-First Search

0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0107-binary-tree-level-order-traversal-ii
0111-minimum-depth-of-binary-tree
0116-populating-next-right-pointers-in-each-node
0871-keys-and-rooms
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
2121-find-if-path-exists-in-graph

Graph

0871-keys-and-rooms
1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph
2121-find-if-path-exists-in-graph

Topological Sort

1431-all-ancestors-of-a-node-in-a-directed-acyclic-graph

Divide and Conquer

0191-number-of-1-bits

Binary Search

0034-find-first-and-last-position-of-element-in-sorted-array
0074-search-a-2d-matrix
0222-count-complete-tree-nodes
0268-missing-number
0349-intersection-of-two-arrays

Tree

0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0107-binary-tree-level-order-traversal-ii
0111-minimum-depth-of-binary-tree
0116-populating-next-right-pointers-in-each-node
0222-count-complete-tree-nodes
0501-find-mode-in-binary-search-tree

Binary Tree

0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0107-binary-tree-level-order-traversal-ii
0111-minimum-depth-of-binary-tree
0116-populating-next-right-pointers-in-each-node
0222-count-complete-tree-nodes
0501-find-mode-in-binary-search-tree

Binary Search Tree

0501-find-mode-in-binary-search-tree

Linked List

0002-add-two-numbers
0021-merge-two-sorted-lists
0116-populating-next-right-pointers-in-each-node

Dynamic Programming

0118-pascals-triangle
0397-integer-replacement

Greedy

0134-gas-station
0397-integer-replacement

Memoization

0397-integer-replacement

Recursion

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

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0075-sort-colors
0349-intersection-of-two-arrays

Sorting

0075-sort-colors
0217-contains-duplicate
0268-missing-number
0349-intersection-of-two-arrays
0414-third-maximum-number
0506-relative-ranks
0645-set-mismatch

Matrix

0048-rotate-image
0074-search-a-2d-matrix

Sliding Window

0003-longest-substring-without-repeating-characters
0219-contains-duplicate-ii

Union Find

2121-find-if-path-exists-in-graph

Simulation

0043-multiply-strings
0495-teemo-attacking

String Matching

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

Design

0303-range-sum-query-immutable

Prefix Sum

0303-range-sum-query-immutable

Heap (Priority Queue)

0506-relative-ranks

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages