Skip to content

Files

Latest commit

e54adb1 · Mar 20, 2018

History

History

convert-number-to-reversed-array-of-digits

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Mar 20, 2018
Mar 20, 2018
Mar 20, 2018

Convert number to reversed array of digits

View on Codewars

Convert number to reversed array of digits

Given a random number:

  • C#: long;
  • C++: unsigned long;

You have to return the digits of this number within an array in reverse order.

Example:

348597 => [7,9,5,8,4,3]

Timeline

  • Created: 2015-06-18
  • Published: 2015-06-18
  • Approved: 2015-07-03
  • Completed: 2018-03-04