Fixed.
I knew it will be a one liver through Linq meanwhile my solution is like tens of lines lol
Now do it with 90 numbers !
There was no requirement to check input, so this solution is optimal.
People who master the arts of Linq see the world in a different perspective ^^
simple
This comment is hidden because it contains spoiler information about the solution
The problem has a slight issue with negative numbers. It expects the number -100000 to be displayed as -,100,000 instead of -100,000
Loading collection data...
Fixed.
I knew it will be a one liver through Linq meanwhile my solution is like tens of lines lol
Now do it with 90 numbers !
There was no requirement to check input, so this solution is optimal.
People who master the arts of Linq see the world in a different perspective ^^
simple
This comment is hidden because it contains spoiler information about the solution
The problem has a slight issue with negative numbers.
It expects the number -100000 to be displayed as -,100,000 instead of -100,000