Welcome to Docs-as-Code Algorithms¶
This site documents popular algorithm patterns using Markdown and MkDocs
as part of a docs-as-code approach to technical problem solving.
Topics Covered¶
- ๐ฆ Two Pointers
- ๐จ Sliding Window
- ๐งต String Manipulation
- ๐ Stacks
- ๐ข Dynamic Programming
- ๐ณ Trees
- ๐ Sorting
- ๐งฉ In-place
- ๐ชฃ Bucket Sort
Sample Docs¶
| ๐ Problem ID | ๐ Title | ๐ Category |
|---|---|---|
| 167 | Two Sum II - Input Array Is Sorted | Two Pointers |
| 151 | Reverse Words in a String | Two Pointers |
| 234 | Palindrome Linked List | Two Pointers |
| 143 | Reorder List | Two Pointers |
| 238 | Product of Array Except Self | Sliding Window |
| 438 | Find All Anagrams in a String | Sliding Window |
| 8 | String to Integer (atoi) | String Manipulation |
| 232 | Implement Queue using Stacks | Two Stacks |
| 394 | Decode String | Two Stacks |
| 139 | Word Break | Dynamic Programming |
| 2327 | Number of People Aware of a Secret | Dynamic Programming |
| 236 | Lowest Common Ancestor of a Binary Tree | Tree DFS (Depth First Search) |
| 75 | Sort Colors | Sorting |
| 347 | Top K Frequent Elements | Bucket Sort |
| 73 | Set Matrix Zeroes | In-place |
| 199 | Binary Tree Right Side View | BFS (Breadth First Search) |