LeetCode Question · Feb 2018 · Los Angeles

Google | Phone screen | Given a string with spaces, normalize it

2 upvotes 6,089 views 24 replies

Question Details

Got asked this by Google (coderpad screen) a few years ago. Given a string with spaces, normalize it. Input: " Hello My World P " Output: "Hello My World P" I don't...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Strings