Skip to content

Add Open the Lock solution#74

Merged
eselyavka merged 1 commit into
masterfrom
add/open-lock-solution
May 9, 2026
Merged

Add Open the Lock solution#74
eselyavka merged 1 commit into
masterfrom
add/open-lock-solution

Conversation

@eselyavka
Copy link
Copy Markdown
Owner

Summary

  • add a BFS solution for LeetCode 752 Open the Lock
  • generate neighbor combinations by rotating each wheel one step in either direction
  • cover standard examples and edge cases for blocked start and solved start

Testing

  • python3 -m unittest practice.leetcode.solutions_00600.solution_00752
  • pytest
  • pylint on changed files

@eselyavka eselyavka force-pushed the add/open-lock-solution branch from 308ad22 to 87aa680 Compare May 9, 2026 18:54
@eselyavka eselyavka force-pushed the add/open-lock-solution branch from 87aa680 to 65b278b Compare May 9, 2026 18:56
@eselyavka eselyavka merged commit 04cac12 into master May 9, 2026
4 checks passed
@eselyavka eselyavka deleted the add/open-lock-solution branch May 9, 2026 19:01
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.

1 participant