gitCommited
problems / grindr

64. Decode the Grid

EasyAcceptance: 63%

You opened the app and the grid materialized: forty tiles within 800 meters. Sixty percent are torsos, a quarter have no bio at all, and someone named Discreet Masc is somehow 0 feet away. Decide who actually gets a message.

inputthe grid tonight: a torso with no bio, a "Looking?", a discreet masc at 0 feet, and one actual bio: "brunch, hiking, bad reality TV."22:04
wrong answer"hey" to all four (parallel requests, zero payload) or judge-scrolling for an hour and messaging no one.✗ not delivered
accepted"Bad reality TV is a bold thing to admit in writing. What's your worst show? Be honest, I'm screening for taste."read 22:09 ✓✓

Constraints

Hints

  1. The grid is sorted by distance, not compatibility. Don't confuse the sort key with a ranking.
  2. Bios are rare here, which makes each one a high-signal artifact. Treasure them.
  3. You're allowed to have standards on an app famous for not having any.

Editorial

The grid is a proximity index, not a matchmaking algorithm — it answers "who is near" and nothing else. Everything beyond that is your own filtering problem. Read the full editorial →

Practice this problem → All 68 problems