Count non-decreasing arrays by digit sums | Microsoft