← All problemsSign in

DOTS Player

Recently Abhilash came across a game called DOTS. It is a single player game. The rules of the game are as follows : - N * M dots of various colours are arranged in a N x M grid. See here for example. - You can draw a rectilinear curve over dots of same colour by moving your finger over the dots. See here for better understanding. As soon as you lift your finger from the screen of your phone, al

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start