Problem 711 · Hard

Number of Distinct Islands II

Count island shapes where rotations and reflections of the same island count as one shape.

Open the interactive visualisation