โ† Visa questions

Minimum length circular substring to form target string

Filed under Visa

Given a circular string S and a target string T, find the minimum length of a substring in S from which T can be constructed. A circular string allows wrapping around the end to the beginning.

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 Visa questions

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