Skip to content

Pirithishaa/Leetcode-problems

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

Hash Table

0049-group-anagrams
0073-set-matrix-zeroes
0202-happy-number
3753-maximum-difference-between-even-and-odd-frequency-i

Math

0002-add-two-numbers
0202-happy-number
0357-count-numbers-with-unique-digits

Two Pointers

0011-container-with-most-water
0202-happy-number
0234-palindrome-linked-list
0611-valid-triangle-number
0908-middle-of-the-linked-list

Dynamic Programming

0055-jump-game
0122-best-time-to-buy-and-sell-stock-ii
0357-count-numbers-with-unique-digits
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array

Backtracking

0357-count-numbers-with-unique-digits

Array

0011-container-with-most-water
0014-longest-common-prefix
0049-group-anagrams
0055-jump-game
0073-set-matrix-zeroes
0122-best-time-to-buy-and-sell-stock-ii
0135-candy
0611-valid-triangle-number
0682-baseball-game
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array

Greedy

0011-container-with-most-water
0055-jump-game
0122-best-time-to-buy-and-sell-stock-ii
0135-candy
0611-valid-triangle-number
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array

String

0014-longest-common-prefix
0020-valid-parentheses
0049-group-anagrams
3753-maximum-difference-between-even-and-odd-frequency-i

Sorting

0049-group-anagrams
0611-valid-triangle-number

Matrix

0073-set-matrix-zeroes

Binary Search

0222-count-complete-tree-nodes
0611-valid-triangle-number

Stack

0020-valid-parentheses
0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0234-palindrome-linked-list
0682-baseball-game
1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array

Monotonic Stack

1633-minimum-number-of-increments-on-subarrays-to-form-a-target-array

Graph

0547-number-of-provinces
0871-keys-and-rooms
1916-find-center-of-star-graph
2121-find-if-path-exists-in-graph

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0543-diameter-of-binary-tree
0547-number-of-provinces
0617-merge-two-binary-trees
0871-keys-and-rooms
2121-find-if-path-exists-in-graph

Breadth-First Search

0100-same-tree
0104-maximum-depth-of-binary-tree
0112-path-sum
0547-number-of-provinces
0617-merge-two-binary-trees
0871-keys-and-rooms
2121-find-if-path-exists-in-graph

Union Find

0547-number-of-provinces
2121-find-if-path-exists-in-graph

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0450-delete-node-in-a-bst
0543-diameter-of-binary-tree
0617-merge-two-binary-trees
0784-insert-into-a-binary-search-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0104-maximum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0222-count-complete-tree-nodes
0450-delete-node-in-a-bst
0543-diameter-of-binary-tree
0617-merge-two-binary-trees
0784-insert-into-a-binary-search-tree

Bit Manipulation

0222-count-complete-tree-nodes

Binary Search Tree

0450-delete-node-in-a-bst
0784-insert-into-a-binary-search-tree

Trie

0014-longest-common-prefix

Counting

3753-maximum-difference-between-even-and-odd-frequency-i

Simulation

0682-baseball-game

Linked List

0002-add-two-numbers
0206-reverse-linked-list
0234-palindrome-linked-list
0237-delete-node-in-a-linked-list
0328-odd-even-linked-list
0908-middle-of-the-linked-list

Recursion

0002-add-two-numbers
0206-reverse-linked-list
0234-palindrome-linked-list

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published