Skip to content

VictorHSLito/LeetCodeExercises

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

187 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCodeExercises

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

LeetCode Topics

Hash Table

0001-two-sum
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0169-majority-element
0217-contains-duplicate
0229-majority-element-ii
0242-valid-anagram
0347-top-k-frequent-elements
0560-subarray-sum-equals-k
0816-design-hashset
0817-design-hashmap

String

0014-longest-common-prefix
0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
0344-reverse-string
0680-valid-palindrome-ii
1894-merge-strings-alternately

Sorting

0049-group-anagrams
0075-sort-colors
0088-merge-sorted-array
0169-majority-element
0217-contains-duplicate
0229-majority-element-ii
0242-valid-anagram
0347-top-k-frequent-elements
0948-sort-an-array

Array

0001-two-sum
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0027-remove-element
0036-valid-sudoku
0049-group-anagrams
0075-sort-colors
0088-merge-sorted-array
0122-best-time-to-buy-and-sell-stock-ii
0128-longest-consecutive-sequence
0169-majority-element
0217-contains-duplicate
0229-majority-element-ii
0238-product-of-array-except-self
0304-range-sum-query-2d-immutable
0347-top-k-frequent-elements
0560-subarray-sum-equals-k
0816-design-hashset
0817-design-hashmap
0948-sort-an-array
2058-concatenation-of-array

Trie

0014-longest-common-prefix

Linked List

0816-design-hashset
0817-design-hashmap

Design

0304-range-sum-query-2d-immutable
0816-design-hashset
0817-design-hashmap

Hash Function

0816-design-hashset
0817-design-hashmap

Divide and Conquer

0169-majority-element
0347-top-k-frequent-elements
0948-sort-an-array

Counting

0169-majority-element
0229-majority-element-ii
0347-top-k-frequent-elements

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0075-sort-colors
0088-merge-sorted-array
0125-valid-palindrome
0344-reverse-string
0680-valid-palindrome-ii
1894-merge-strings-alternately

Simulation

2058-concatenation-of-array

Heap (Priority Queue)

0347-top-k-frequent-elements
0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0347-top-k-frequent-elements
0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0948-sort-an-array

Quickselect

0347-top-k-frequent-elements

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Tree

0094-binary-tree-inorder-traversal
0104-maximum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0104-maximum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0104-maximum-depth-of-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree

Breadth-First Search

0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

Matrix

0036-valid-sudoku
0304-range-sum-query-2d-immutable

Prefix Sum

0238-product-of-array-except-self
0304-range-sum-query-2d-immutable
0560-subarray-sum-equals-k

Union Find

0128-longest-consecutive-sequence

Dynamic Programming

0122-best-time-to-buy-and-sell-stock-ii

Greedy

0122-best-time-to-buy-and-sell-stock-ii
0680-valid-palindrome-ii

About

A 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

 
 
 

Contributors