Skip to content

alexvu05/leetcode-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

129 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

LeetCode Topics

Array

0033-search-in-rotated-sorted-array
0048-rotate-image
0049-group-anagrams
0128-longest-consecutive-sequence
0136-single-number
0189-rotate-array
0238-product-of-array-except-self
0268-missing-number
0347-top-k-frequent-elements
0421-maximum-xor-of-two-numbers-in-an-array
0442-find-all-duplicates-in-an-array
0525-contiguous-array
0560-subarray-sum-equals-k
0704-binary-search
0875-koko-eating-bananas

Math

0048-rotate-image
0189-rotate-array
0268-missing-number

Two Pointers

0189-rotate-array
0567-permutation-in-string

Binary Search

0033-search-in-rotated-sorted-array
0268-missing-number
0704-binary-search
0875-koko-eating-bananas

Hash Table

0049-group-anagrams
0128-longest-consecutive-sequence
0268-missing-number
0347-top-k-frequent-elements
0421-maximum-xor-of-two-numbers-in-an-array
0424-longest-repeating-character-replacement
0442-find-all-duplicates-in-an-array
0525-contiguous-array
0560-subarray-sum-equals-k
0567-permutation-in-string

String

0049-group-anagrams
0424-longest-repeating-character-replacement
0567-permutation-in-string

Sliding Window

0424-longest-repeating-character-replacement
0567-permutation-in-string

Matrix

0048-rotate-image

Union-Find

0128-longest-consecutive-sequence

Divide and Conquer

0347-top-k-frequent-elements

Sorting

0049-group-anagrams
0268-missing-number
0347-top-k-frequent-elements
0442-find-all-duplicates-in-an-array

Heap (Priority Queue)

0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

Prefix Sum

0238-product-of-array-except-self
0525-contiguous-array
0560-subarray-sum-equals-k

Tree

0098-validate-binary-search-tree
0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Depth-First Search

0098-validate-binary-search-tree
0100-same-tree
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Breadth-First Search

0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Binary Tree

0098-validate-binary-search-tree
0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Linked List

0021-merge-two-sorted-lists

Recursion

0021-merge-two-sorted-lists

Binary Search Tree

0098-validate-binary-search-tree

Bit Manipulation

0136-single-number
0268-missing-number
0421-maximum-xor-of-two-numbers-in-an-array

Trie

0421-maximum-xor-of-two-numbers-in-an-array

About

Problem solving on LeetCode

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors