#interview
Read more stories on Hashnode
Articles with this tag
Techniques Used Greedy Sorting Approach Sorting based on either costA or costB is not going to be enough, we also need to account for the...
Techniques Used Graph Simple DFS Prerequisite Problem Recommended 200 - Number of Islands Approach It is similar to the Number of Islands...
Techniques Used Graph DFS Approach Initialize the visited matrix to keep track of visited elements & also the island_count. Apply nested for loops...