โ† Visa questions

Minimum length string after deleting characters for direction navigation

Filed under Visa

The question

Given direction characters (L, R, U, D), find the minimum length of string obtained after deleting some characters so that the final destination remains the same as the original string.

No write-up yet. Related questions below have one.

Related Visa questions

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