-
Notifications
You must be signed in to change notification settings - Fork 148
feat(deps): update dependencies to latest and add vendored OpenSSL to… #48
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
Open
Levio-z
wants to merge
34
commits into
aylei:master
Choose a base branch
from
Levio-z:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… ensure cross-platform dependency consistency
… examples and explanations
…e Element problems with examples and explanations
…Remove Duplicates problems
…olute value comparison
…barray Sum implementation
… add Range Sum Query - Immutable and Backspace String Compare solutions with tests
…y and add newline at end of file
…approaches for matrix generation
- Added `MyLinkedList` implementation with methods for adding, retrieving, and deleting nodes. - Created a `Trie` structure with methods for inserting words and searching for prefixes. - Included comprehensive documentation and test cases for both data structures. - Updated `Cargo.toml` to include a new dependency for formatting. - Added markdown documentation for the linked list and trie implementations.
- Extract CLI logic into src/cli/ module (commands, handlers, template) - Refactor fetcher.rs into src/fetcher/ with clear separation of concerns - api_models.rs: Private API response structures - models.rs: Public domain models - transform.rs: Data transformation layer - client.rs: HTTP client operations - Reduce main.rs from 376 to 47 lines (87.5% reduction) - Improve error handling with Result types - Replace 24-arm match with HashMap for return type handling - All tests passing, functionality preserved Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…rieval Improvements: - Fetch algorithm and concurrency problem lists concurrently (parallel) - Process problems in batches of 50 to control concurrency - Add progress reporting per batch - Combine both problem lists before filtering - Add Clone trait to StatWithStatus, Stat, and Difficulty for batch processing - Remove unnecessary async blocks and .to_string() comparisons - Better user feedback with batch progress and total count Performance benefits: - Faster initial problem list fetching (parallel instead of sequential) - Controlled concurrency prevents overwhelming the API - Better progress visibility for users - Reduced memory pressure by processing in batches Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Added detailed documentation in claude_doc/ directory: 1. README.md - Project overview and quick navigation - Summary of both commits - Overall achievements - Technical stack - Future improvements 2. 01-refactoring-summary.md - Code refactoring details - Problems before refactoring - Module design and implementation - Code quality improvements - Verification results - 87.5% reduction in main.rs 3. 02-performance-optimization.md - Performance optimization details - Performance issues analysis - Optimization strategies - Concurrency model explanation - Performance comparison data - 2x speedup in problem list fetching Documentation includes: - Detailed code examples - Before/after comparisons - Performance metrics - User experience improvements - Technical design decisions - Future optimization suggestions Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixed all markdownlint warnings: - Added language identifiers to code blocks (bash, rust, text) - Changed bold emphasis to proper headings (##### level) - Fixed duplicate heading by renaming to unique titles - Fixed line length issue by breaking long code line - Ensured proper blank lines around headings and lists All documentation now passes markdownlint validation. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Fixed MD060 table column style warnings by adding proper spacing around table pipes for consistent formatting. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Replace interactive loop with clap-based argument parsing - Add clap dependency with derive features to Cargo.toml - Implement intuitive command structure: - Positional argument for problem ID (e.g., lc 01) - Named flags: -r/--random, -s/--solve, -a/--all - Add install.sh script for system-wide installation as 'lc' command - Add Makefile for common build tasks - Update README.md with comprehensive installation and usage documentation - Improve user experience with direct command execution instead of interactive prompts Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
… ensure cross-platform dependency consistency