Challenge overview
Hello and welcome to the challenge!
Write a code which creates the smallest possible number using digits from the given array. Every digit should be used, duplicates should be ignored.
Input
- an array with digits (from 0 to 9)
Output
- the smallest possible number properly created from the given digits
Constraints
0 < output number < 1000000000
You can solve this programming contest in Ruby, JavaScript, Python, PHP and more languages. If you want, you can also take part in other Challenges. Below you can find some of them:
Did you like this challenge and would like to try your hand at some interesting big programming competitions? Check what’s all over the news in tech world in May 2019 in our article with upcoming IT Conferences, Hackathons and Online Challenges in May 2019.
Have fun and good luck! :)