convert number n to String
String num = String . Join ( " " , n ) ; String ans = findLargestCubeUtil ( num , preProcessedCubes ) ; Console . WriteLine ( " Largest ▁ Cube ▁ that ▁ can ▁ be ▁ formed ▁ from ▁ " + n + " ▁ is ▁ " + ans ) ; }