Palo Alto Networks Associate Developer Interview Question 2024 February | Graphs and BFS | on-campus
Question · Posted Jun 2026
Question 1 Problem Statement There is an m x n rectangular island that borders both the Pacific Ocean and the Atlantic Ocean. The Pacific Ocean touches the island's top and left edges. The Atlantic Ocean touches the island's bottom and right edges. Rain water can flow to neighbouring cells (up, down, left, right) only if the neighbouring cell's height is less than or equal to the current cell's height. Water can flow into an ocean if it reaches a border ...
The full answer & interview discussion are available to premium members.
Log in Create a free account