DEV Community

Discussion on: Daily Challenge #297 - Loneliest Character

Collapse
 
qm3ster profile image
Mihail Malo

So first and last non-whitespace character are less likely to be lonely, because they don't have space on one side?
For example, why is the first answer not ['b', 'c']? 'c' is as far from the other letters as it gets!

Collapse
 
mellen profile image
Matt Ellen • Edited

I didn't write the rules, just copied them from the other site :-Þ

Thread Thread
 
qm3ster profile image
Mihail Malo

RIP