There were two questions, try to give all the possible approach(wrost to best time complexity)
Que 1 : Binary tree right side view [LC- medium] Que 2: Number of Islands [LC - medium]