← Questions

Most coins collected by tokens that jump three cells

0
GoogleCodingLast asked Feb 2026

A one-player board game: a string of N positions, each empty (.), holding one of the player's tokens (T) or holding a coin (C). The player may have several tokens, and a token moves forward three positions at a time. Return the most coins the player can collect.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding