Number of Distinct Islands
@wavy How did you get the idea?? Mind blowing!! Thanks for the Solution.
@herman3 I have the same question. @wavy why you need a "b" in the end?
You dont need to normalize the path by the starting point. Keeping track of the move in the DFS is enough for island signature.
Submission Result: Wrong Answer More Details
No one has replied
@D3Hunter said in Need Help in Java code using dfs!!! Passing only 715/750 test cases.:
yes, it worked.... thanks again..cheers!!!
Disabled Categories are greyed out
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.