Find the smallest number with given number of digits and sum of digits


This is a companion discussion topic for the original entry at http://iq.opengenus.org/find-smallest-number-with-given-number-of-digits-and-digits-sum/