0
Write a program in java to print all possible combinatins of a 3 digit number..ex:123- 321,213,312...
plzz frnds solve it n help me to learn...plxzz
2 Respostas
+ 3
Have you tried to do it first?
Post your code here so we can help.
You can use Heap's Algorithm for that.
+ 1
I don't know the Heap's algorithm and I do it by intuition. But I will read about this algorithm.
https://code.sololearn.com/cB10p2yTZCAD/?ref=app