If the input provided is “546”, then your solution should return "654,645,564,546,465,456" as these are all the combination that can be made with integers
I am not 100% sure what algorithm to use to achieve the most efficient answer
If the input provided is “546”, then your solution should return "654,645,564,546,465,456" as these are all the combination that can be made with integers
I am not 100% sure what algorithm to use to achieve the most efficient answer