Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Alternate approach?

arya.javadi80

Jun 12, 2023

Can you do this without visited and bitwise? I tried with marking the cells and returning True if all the DFS calls go through but I got 2,2 for tests??

1

0

Comments
Comments
A
Alfonso Vieyra2 years ago

I did mine without visited although I did use bitwise operations.

On this page