← Back
00:00

Replace Spaces In Array

Nebius interview questions · Easy · Coding round · 7 tests

Write a function that replaces every space character in a string with the three-character sequence %20.

You may assume the input contains only printable ASCII characters. Preserve the relative order of all non-space characters.

Idle