1020. Number of Enclaves
MediumArray ยท Depth-First Search ยท Breadth-First Search ยท Union-Find ยท Matrix ยท 15:35
LeetCode problem 1020, Number of Enclaves, was LeetCode's Daily Challenge on Friday, April 7, 2023. It's rated medium. codestorywithMIK explains the approach step by step in the video above.