GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — LeetCode/BFS/1559.Detect-Cycles-in-2D-Grid at master · wisdompeak/LeetCode

Expand file tree

/

1559.Detect-Cycles-in-2D-Grid

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

1559.Detect-Cycles-in-2D-Grid

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
1559.Detect-Cycles-in-2D-Grid.cpp
1559.Detect-Cycles-in-2D-Grid.cpp
 
 
Readme.md
Readme.md
 
 

Readme.md

1559.Detect-Cycles-in-2D-Grid

从任意一点开始,对同一个value的所有像素做常规的遍历。如果遍历的过程中遇到了之前访问过的格子,那么就是有环。注意遍历的过程中不能走“回头路”,即从A遍历到B,那么从B开始的遍历就不能包括A。

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.