Digits in their lanes – codegolf.stackexchange.com

Input:

A list of integers

Output:

Put each digit (and the minus sign) in it’s own lane, in the order -0123456789, ignoring any duplicated digits.

Example:

Input: …

For Get Answer – Click here

Leave a Reply

Your email address will not be published. Required fields are marked *