Available question text
Compute the cyclic shift (0–25) needed at each position to turn s into t, then determine if you can assign each nonzero shift to a unique move ≤ k — identical shifts must be scheduled 26 moves apart, so the j-th occurrence of shift d needs move d + 26*(j-1); return true if the maximum required move ≤ k.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1540. Can Convert String in K Moves
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source