—
Open the Lock
Tutor me on https://mlprep.iwase.dev/item/leetcode-752-open-the-lock/. If window.mlPrepAgent is available, read attempts for item leetcode-752-open-the-lock before tutoring. Inspect my attempt, keep the item ID, and do not reveal the full answer first. After a real attempt, append its record with recorded_by agent, include agent_session_id when available, and read it back.Models an implicit state graph and requires BFS with visited-state handling; submissions receive judge feedback.
The third-party problem and answer are not reproduced here. Use the exact source locator below.
Local history
Loading attempts saved in this browser…