Elegant solution!
Question: The details say to note that "it may happen that the input string have leading, trailing whitespaces and more than a unique whitespace between two consecutive numbers". This solution and many others don't seem to account for that i.e. if there are multiple whitespaces between numbers then there is inconsistent spacing in the output string.
It took me 41 lines haha. Great solution
That's even more impressive
how the hell did you guys came up with these solutions?
Bro
You even know how to use key in sorted function
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Elegant solution!
Question: The details say to note that "it may happen that the input string have leading, trailing whitespaces and more than a unique whitespace between two consecutive numbers". This solution and many others don't seem to account for that i.e. if there are multiple whitespaces between numbers then there is inconsistent spacing in the output string.
Amazing
what level is the person who writes this?
my code was 20 lines.
Nice. I bow down =P
How-
it took me nearly as long as you, as long as you get it working in the end it's no biggie
This comment is hidden because it contains spoiler information about the solution
bro aint no way, i was doing like 20 lines
cool use of lamda man, n1
Please use spoiler flag.
Loading more items...