-
Notifications
You must be signed in to change notification settings - Fork 64
Create matrices.md #10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Updated examples in the searching documentation to use LaTeX formatting for inputs and outputs.
Updated explanations and formatting for linear search, sentinel search, binary search, ternary search, and jump search in the notes.
Updated LaTeX formatting for hash functions and examples in the searching notes. Improved clarity in the explanation of cuckoo hashing and added details for the KMP algorithm.
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request adds comprehensive algorithm and data structure documentation to support the project's educational content. The changes introduce new sections on searching algorithms, matrix operations, greedy algorithms, and visualization tools, while also expanding and restructuring existing sorting algorithm documentation.
- Adds new modules for searching algorithms, matrix operations, and greedy algorithm patterns
- Expands sorting documentation with enhanced examples and visual illustrations
- Creates a Python visualization tool for time complexity concepts
Reviewed Changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| resources/time_complexity.py | New Python script for visualizing Big O, Omega, and Theta notations using matplotlib |
| notes/sorting.md | Enhanced sorting algorithms section with detailed examples, visual walkthroughs, and comparison tables |
| notes/searching.md | New comprehensive guide covering linear, divide-and-conquer, hash-based, probabilistic, and string search algorithms |
| notes/matrices.md | New documentation for matrix operations, transformations, traversals, and grid-based algorithms |
| notes/greedy_algorithms.md | New guide covering greedy algorithm principles, MST algorithms, scheduling, and Huffman coding |
| notes/dynamic_programming.md | Minor text improvements to existing documentation |
| notes/brain_teasers.md | Expanded programming strategies and data structure tips |
Comments suppressed due to low confidence (1)
notes/greedy_algorithms.md:1
- The LaTeX escape sequence is malformed. Should be
f_{\text{heavy}}-f_{\text{light}}instead off\_{\text{heavy}}-f\_{\text{light}}(backslash should not precede the underscore in this context).
## Greedy algorithms
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
| +----+----+----+----+----+----+----+----+ | ||
| 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | | ||
| +----+----+----+----+----+----+----+----+ | ||
| 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | | ||
| +----+----+----+----+----+----+----+----+ | ||
| 3 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | | ||
| +----+----+----+----+----+----+----+----+ | ||
| 4 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | | ||
| +----+----+----+----+----+----+----+----+ | ||
| 5 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | | ||
| +----+----+----+----+----+----+----+----+ |
Copilot
AI
Aug 31, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Inconsistent tab characters are used for indentation in the ASCII art table. This should use consistent spacing (either tabs or spaces throughout) for proper formatting.
| +----+----+----+----+----+----+----+----+ | |
| 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | | |
| +----+----+----+----+----+----+----+----+ | |
| 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | | |
| +----+----+----+----+----+----+----+----+ | |
| 3 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | | |
| +----+----+----+----+----+----+----+----+ | |
| 4 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | | |
| +----+----+----+----+----+----+----+----+ | |
| 5 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | | |
| +----+----+----+----+----+----+----+----+ | |
| +----+----+----+----+----+----+----+----+ | |
| 1 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | | |
| +----+----+----+----+----+----+----+----+ | |
| 2 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | | |
| +----+----+----+----+----+----+----+----+ | |
| 3 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | | |
| +----+----+----+----+----+----+----+----+ | |
| 4 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | | |
| +----+----+----+----+----+----+----+----+ | |
| 5 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | | |
| +----+----+----+----+----+----+----+----+ |
| @@ -1,38 +1,49 @@ | |||
| - tree traversal in order, post order etc. | |||
Copilot
AI
Aug 31, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line appears to be a stray note or incomplete bullet point that doesn't connect to the rest of the document content. It should either be removed or properly integrated into the document structure.
| - tree traversal in order, post order etc. |
Co-authored-by: Copilot <[email protected]>
No description provided.