Skip to content

fix: correct typos in solution file names#5187

Merged
yanglbme merged 1 commit intomainfrom
dev
May 5, 2026
Merged

fix: correct typos in solution file names#5187
yanglbme merged 1 commit intomainfrom
dev

Conversation

@yanglbme
Copy link
Copy Markdown
Member

@yanglbme yanglbme commented May 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 5, 2026 00:13
@idoocs idoocs added cpp Issues or Pull requests relate to .cpp code core team Issues or pull requests from core team go Issues or Pull requests relate to .go code java Issues or Pull requests relate to .java code md Issues or Pull requests relate to .md files rs Issues or Pull requests relate to .rs code ts Issues or Pull requests relate to .ts code labels May 5, 2026
@yanglbme yanglbme merged commit bc572b4 into main May 5, 2026
15 of 16 checks passed
@yanglbme yanglbme deleted the dev branch May 5, 2026 00:14
Copy link
Copy Markdown

Copilot AI left a 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 PR cleans up typo-related naming/documentation inconsistencies in the LeetCode solutions tree so each problem directory uses the expected Solution.* filenames and matching README content.

Changes:

  • Removes incorrectly named solution files that duplicate the correctly named implementations already present in their directories.
  • Removes the extra Rust “Solution 2” content for problem 2729 so the README matches the single retained Rust implementation.
  • Improves the English README for problem 2729 by giving Solution 1 a descriptive title and short explanation.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated no comments.

Show a summary per file
File Description
solution/2800-2899/2859.Sum of Values at Indices With K Set Bits/Solultion.java Deletes typo-named duplicate of the existing Java solution file.
solution/2800-2899/2857.Count Pairs of Points With Distance k/Soution.go Deletes typo-named duplicate of the existing Go solution file.
solution/2700-2799/2729.Check if The Number is Fascinating/Solutions.rs Deletes typo-named Rust solution file in favor of the correctly named file.
solution/2700-2799/2729.Check if The Number is Fascinating/Solution2.rs Removes the second Rust variant so repository contents align with README/docs.
solution/2700-2799/2729.Check if The Number is Fascinating/README.md Removes the obsolete second Rust solution section from the Chinese README.
solution/2700-2799/2729.Check if The Number is Fascinating/README_EN.md Adds a short explanation/title for Solution 1 and removes the obsolete second Rust solution section.
solution/2500-2599/2539.Count the Number of Good Subsequences/Solutoin.cpp Deletes typo-named duplicate of the existing C++ solution file.
solution/0000-0099/0061.Rotate List/Soution.ts Deletes typo-named duplicate of the existing TypeScript solution file.
solution/0000-0099/0061.Rotate List/Soution.rs Deletes typo-named duplicate of the existing Rust solution file.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core team Issues or pull requests from core team cpp Issues or Pull requests relate to .cpp code go Issues or Pull requests relate to .go code java Issues or Pull requests relate to .java code md Issues or Pull requests relate to .md files rs Issues or Pull requests relate to .rs code ts Issues or Pull requests relate to .ts code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants