Permalink
Find file
f1b07f8 Jul 3, 2016
44 lines (31 sloc) 645 Bytes

nbsp

Description

Write a function that replaces non breaking white-spaces in a text with &nbsp.

Input

  • The input will consist of an array containing one string

Output

  • The output should be consisted of one line

Constraints

  • Time limit: 0.2s
  • Memory limit: 16MB

Sample tests

Sample Test 1

Input

[ 'hello world' ]

Output

hello world

Sample Test 2

Input

[ 'This text contains 4 spaces!!' ]

Output

This text contains 4 spaces!!

Submission

  • Submit your code here