Google | Phone Screen | Number of Islands in a Tree

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2025-01-13Added By Anonymous
Source: Link
🧭 Experience: unknown
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown

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