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


[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


53 Answers

New Answer


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!




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






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


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.


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


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


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




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








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


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


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


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


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