Google | Phone Screen | Max Size of Islands in a Tree
Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2024-10-05Added By Anonymous
Source: Link
🧭 Experience: unknown
✅ Outcome: unknown
💰 Compensation: unknown
📍 Location: unknown
🏢 Company: Google
🎓 Education: unknown
🎁 Benefits: unknown
📅 Offer Date: unknown
My friend was asked this question in google phone screen
Given a tree having nodes with value 0 and 1. write a function to return the max size of island ?