← Back to experiences
[ OK ] Loaded —
[ INFO ]
$ cd
$ ls -lt
01
02
03
04
05
$ ls -lt
01
02
03
04
05
user@intervues:~/experiences/…$
Meta | E4 | UK | Phone Screen
Questions
In the second question, the goal is to find the largest area of an island that can be created using cells containing '0'. Ensure that no '1' is present in any of the four directions.
Example Input:
0 0 1 0 0 1 1 1 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 0
Output: ans = 4
I successfully solved both questions. The interviewer appeared satisfied with my approach and implementation.