Skip to content

feat: add solutions to lc problem: No.3286#5286

Merged
yanglbme merged 1 commit into
mainfrom
feat/3286-safe-walk
Jul 2, 2026
Merged

feat: add solutions to lc problem: No.3286#5286
yanglbme merged 1 commit into
mainfrom
feat/3286-safe-walk

Conversation

@yanglbme

@yanglbme yanglbme commented Jul 2, 2026

Copy link
Copy Markdown
Member

Summary

Test plan

  • Verify C# and Rust solutions compile
  • Confirm README code blocks match Solution.cs and Solution.rs
  • Run against LeetCode test cases for No.3286

Add C# and Rust implementations with README updates.

Co-authored-by: Cursor <cursoragent@cursor.com>
Copilot AI review requested due to automatic review settings July 2, 2026 00:24

Copilot AI left a comment

Copy link
Copy Markdown

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 adds missing language implementations for LeetCode #3286 (Find a Safe Walk Through a Grid) to the repository’s standard per-problem solution folder, and updates the per-problem READMEs to include the new language code blocks alongside existing solutions.

Changes:

  • Add a Rust solution (Solution.rs) implementing the same shortest-path-with-relaxation approach used by existing language solutions for this problem.
  • Add a C# solution (Solution.cs) mirroring the repository’s established pattern for grid shortest-path solutions.
  • Update both README.md and README_EN.md to include the Rust and C# solution code blocks.

Reviewed changes

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

File Description
solution/3200-3299/3286.Find a Safe Walk Through a Grid/Solution.rs Adds Rust implementation for problem 3286.
solution/3200-3299/3286.Find a Safe Walk Through a Grid/Solution.cs Adds C# implementation for problem 3286.
solution/3200-3299/3286.Find a Safe Walk Through a Grid/README.md Adds Rust and C# code blocks to the Chinese README tabs.
solution/3200-3299/3286.Find a Safe Walk Through a Grid/README_EN.md Adds Rust and C# code blocks to the English README tabs.

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

@yanglbme yanglbme merged commit ca56011 into main Jul 2, 2026
8 checks passed
@yanglbme yanglbme deleted the feat/3286-safe-walk branch July 2, 2026 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants