[CHALLENGE] remove string spaces | Sololearn: Learn to code for FREE!

+28

[CHALLENGE] remove string spaces

Simple challenge. Just remove string spaces and return output without spaces. For example: string = "ab c d e fgh i j kl mn opqr stuvwxy z" result = "abcdefghijklmnopqrstuvwxyz"

2/14/2018 2:03:12 PM

r8w9

53 Answers

New Answer

+24

https://code.sololearn.com/c2D7TMGIvyVP/?ref=app c++ Also; Could you submit this challenge via lesson factory to be reviewed for possible inclusion in a new, yet to be announced feature. Thanks!

+25

https://code.sololearn.com/cs71gGpM6ILH/?ref=app

+24

As Jay said, remember to submit your challenge in the Lesson Factory for a possible, delicate surprise. :> https://code.sololearn.com/c99QFDWmZoO2/?ref=app

+21

https://code.sololearn.com/WDLVTBU42pge/?ref=app

+14

https://code.sololearn.com/c7K2ZHc5AO1k/?ref=app

+13

My First Kotlin Code: https://code.sololearn.com/c57Vc9BEChQa/#kt

+12

Sure! From the main screen, select the three dots in the top right corner, select lesson factory. Select language as 'other' type as 'assignment' Then enter the text as above in your question.

+12

My try https://code.sololearn.com/cL9lN5R9TGDJ/?ref=app

+12

Another method (using STL copy) https://code.sololearn.com/ctZfYM6J0Haa/?ref=app

+11

Just one line in JavaScript https://code.sololearn.com/W0yD4rHyk3wR/?ref=app

+11

https://code.sololearn.com/c5ZNjP4555Pm/?ref=app

+10

challenge accepted. my code in js. https://code.sololearn.com/WvQqRaZPrXHh/?ref=app

+9

https://code.sololearn.com/c0VH5qhxI5NU/?ref=app

+9

https://code.sololearn.com/cB0um0ci8yLv/?ref=app

+8

https://code.sololearn.com/cI5e7hDWTif5/?ref=app

+8

My try here https://code.sololearn.com/cuhw38V1H8Zf/?ref=app

+8

Here is mine: https://code.sololearn.com/cUG6Zi7Tx90g/?ref=app

+8

1 Line python https://code.sololearn.com/cSLm1OCrZlVe/?ref=app

+8

My try : https://code.sololearn.com/cf4PxnTl9Sma/?ref=app

+7

https://code.sololearn.com/c0u7o2985VyP/?ref=app https://code.sololearn.com/W0H4kf3iMrZe/?ref=app https://code.sololearn.com/clN1nf2eimy0/?ref=app https://code.sololearn.com/cS1bn67a1jxJ/?ref=app https://code.sololearn.com/cB05hi1cO3aY/?ref=app https://code.sololearn.com/c6tfgozC170n/?ref=app