Company: Google
Stage: Phone Screen
Date:13/01/2025
Given a Binary tree having nodes with value 0 and 1. write a function to return the number of islands ?
Follow Up Questions-
Return the sizes of unique islands
Comments (24)
Company: Google
Stage: Phone Screen
Date:13/01/2025
Given a Binary tree having nodes with value 0 and 1. write a function to return the number of islands ?
Follow Up Questions-
Return the sizes of unique islands