โ† FactSet questions

Replace spaces with %20

Filed under FactSet

Write a method to replace all spaces in a character string with '%20'. You are given the true length of the string and should perform this in-place with O(n) time and no extra memory.

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

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