DEV Community

Discussion on: Daily Coding Puzzles - Oct 29th - Nov 2nd

 
dance2die profile image
Sung M. Kim • Edited

987654321 is how I expect it to work though without the 0 in the beginning as you should return a positive integer.

Thread Thread
 
tux0r profile image
tux0r

That was not a part of the question, so I would say that the result should still start with a 0.

Thread Thread
 
aspittel profile image
Ali Spittel

the positive integer shouldn't have a leading zero I don't think. It's at least up to interpretation.