</>OfferRetriever
DashboardDiscuss
NEW

Summer Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

14

:

03

:

50

:

20

Get this deal
Back to Dashboard

Replace Spaces In Array

Easy

Write a function that replaces all spaces in a string with '%20'.

You may assume the input string contains only printable ASCII characters. The function should work as a URL encoder for spaces, converting every space character to the three-character sequence %20. ...

OfferRetriever

Master technical interviews with real questions from top companies. Build your confidence and career.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCode
LEGAL
POPULAR COMPANIES
GoogleMetaAmazonMicrosoftNetflixStripeUberTikTokBrowse all companies →

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.