Skip to content

Conversation

@Krishna200608
Copy link
Contributor

Issue: #576

Problem: Cycle In Maze (Codeforces)
Approach: Single BFS from X to compute return distances, then greedy lexicographic path construction ensuring feasibility at every step.
Time Complexity: O(N × M + k)

Submission Link:
https://codeforces.com/contest/769/submission/357206338

Screenshot of the submission:
image

@OpenGitBot
Copy link

Hey @Krishna200608

Thanks for opening this PR 🚀. Mentor will review your pull request soon and till then, keep contributing and stay calm.

Thanks for contributing in OpenCode'25 ✨✨!

@Dheeraj-06 Dheeraj-06 merged commit d148936 into opencodeiiita:main Jan 12, 2026
@OpenGitBot
Copy link

Hey @Krishna200608

Your PR has been merged 🥳🥳 and you have earned 10 points.

Thanks for contributing in OpenCode'25✨✨

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.

3 participants