LeetCode
Question
·
Apr 2023
Visible trees in forest
97 views
1 reply
Question Details
Hi, I got an excersise as my homework. The JAVA program : gets an map of forest at the start (2d int array of NxN size) like: { {1,5,4,8,7}, {7,4,8,4,6}, {1,2,2,3,6}, {0,1,2,5,3}, {1,4,7,5,1} } every number represents the tree...
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Arrays
Binary Tree