Skip to content

rayworks/algorithms

Repository files navigation

algorithms

LeetCode

Category Problem
Base 53. Maximum Subarray
Tree 235. Lowest Common Ancestor of a Binary Search Tree
199. Binary Tree Right Side View
669. Trim a Binary Search Tree
450. Delete Node in a BST
103. Binary Tree Zigzag Level Order Traversal
110. Balanced Binary Tree
127. Word Ladder
297. Serialize and Deserialize Binary Tree
1609. Even Odd Tree
662. Maximum Width of Binary Tree
814. Binary Tree Pruning
1325. Delete Leaves With a Given Value
637. Average of Levels in Binary Tree
116. Populating Next Right Pointers in Each Node
107. Binary Tree Level Order Traversal II
951 Flip Equivalent Binary Trees
617. Merge Two Binary Trees
Array 22. Generate Parentheses
703. Kth Largest Element in a Stream
925. Long Pressed Name
1833. Maximum Ice Cream Bars
1079. Letter Tile Possibilities
827. Making A Large Island
283 Move Zeroes
540. Single Element in a Sorted Array
33. Search in Rotated Sorted Array
819. Most Common Word
565. Array Nesting
3. Longest Substring Without Repeating Characters
1743. Restore the Array From Adjacent Pairs
120. Triangle
981. Time Based Key-Value Store
118. Pascal's Triangle
56. Merge Intervals
239. Sliding Window Maximum
146. LRU Cache
128. Longest Consecutive Sequence
215. Kth Largest Element in an Array
986. Interval List Intersections
17. Letter Combinations of a Phone Number
680. Valid Palindrome II
733. Flood Fill
49. Group Anagrams
42. Trapping Rain Water
200. Number of Islands
973. K Closest Points to Origin
724. Find Pivot Index
93. Restore IP Addresses
448. Find All Numbers Disappeared in an Array
1046. Last Stone Weight
436. Find Right Interval
442. Find All Duplicates in an Array
904 Fruit into baskets
347. Top K Frequent Elements
2070. Most Beautiful Item for Each Query
240. Search a 2D Matrix II
524. Longest Word in Dictionary through Deleting
130. Surrounded Regions
27. Remove Element
84. Largest Rectangle in Histogram
12. Integer to Roman
289. Game of Life
41. First Missing Positive
Linkedlist 2. Add Two Numbers
86. Partition List
1019. Next Greater Node In Linked List
Backtracking 463. Island Perimeter
78. Subsets
140. Word Break II
77. Combinations
51. N-Queens
301. Remove Invalid Parentheses
494. Target Sum
39. Combination Sum
79. Word Search
216. Combination Sum III
332. Reconstruct Itinerary
40. Combination Sum II
Graph 207. Course Schedule
Recursive 62. Unique Paths
695. Max Area of Island
1. Mark all the visited cells
2. Traverse the cells with value 1 recursively, and calculate
124. Binary Tree Maximum Path Sum
1448. Count Good Nodes in Binary Tree
437. Path Sum III
341. Flatten Nested List Iterator
63. Unique Paths II
64. Minimum Path Sum
112. Path Sum
129. Sum Root to Leaf Numbers
113. Path Sum II
Concurrency 1114. Print in Order
1115 Print FooBar Alternately
Trie 211. Add and Search Word - Data structure design
Sorting 451. Sort Characters By Frequency
791. Custom Sort String
Queue 622. Design Circular Queue
String 459. Repeated Substring Pattern
763. Partition Labels
890. Find and Replace Pattern
Dynamicpro 1048. Longest String Chain
139. Word Break
392. Is Subsequence
300. Longest Increasing Subsequence
322. Coin Change
Stack 394. Decode String
844. Backspace String Compare
20. Valid Parentheses

About

The notes for all the algorithm problems I solved

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages