Search⌘ K
AI Features

Freedom Trail

Freedom Trail asks you to rotate a circular ring to align each character of a keyword in order, counting every rotation and button press, and return the minimum total steps.

Statement

You are given a circular ring represented by a string ring, and a keyword represented by a string ...