Number of Islands solved three ways, and the follow-ups
7 min read The grid-counting question turns up everywhere from Google to Citadel, and the part that gets scored is the follow-up, not the first solution. Read article
7 min read The grid-counting question turns up everywhere from Google to Citadel, and the part that gets scored is the follow-up, not the first solution. Read article
4 min read Number of Islands (LeetCode 200) is the most common entry-level graph problem in technical interviews. It appears at Google, Amazon, Read article
What's missing, wrong, or worth adding? One line helps.
Sent — thank you. We read every one.