โ† Microsoft questions
CodingReported in a candidate post, Aug 2018

URLify String

Filed under Microsoft

Write a method to replace all spaces in a given character array/string with '%20'. You may assume that the string has sufficient extra space at the end to hold the additional characters.

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

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