Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could you tell me the reason why we need board[x][y] = 'V' in surrounded-regions.py #39

Closed
sangheestyle opened this issue Jan 19, 2019 · 1 comment

Comments

@sangheestyle
Copy link
Contributor

Hi,

I have a question for a solution at the following link:

Line 31 has board[x][y] = 'V' even we mardked board[i][j] = 'V' at line 27. Either way is fine for OJ but could you tell me why we need line 31?

@kamyu104
Copy link
Owner

Yes, you are right. It's not necessary. I've updated the solution. Thank you very much.

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

No branches or pull requests

2 participants