← Microsoft questions

URLify a string and fastest way to loop 2D array

Filed under Microsoft

Implement a function to replace all spaces in a string with '%20'. You may assume the string has enough space at the end to hold the additional characters. Additionally, determine whether traversing a…

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.