Katkat

Count islands and distinct shapes

LinkedInSoftware Engineer · Onsite

Last updated

This question evaluates a candidate's understanding of grid-based graph traversal and connected-component detection, along with the ability to recognize and canonicalize distinct island shapes.