← Google questions
CodingReported in a candidate post, Nov 2025

Number of unlock patterns in a grid

Filed under Google

Given an N x M grid of dots, count all valid unlock patterns of length at least L. A pattern is a sequence of distinct dots. A move between two adjacent dots (horizontally, vertically, diagonally) is…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.