+ 11

Write code for all possible combination of your name, using each digit once...

example IF NAME IS "ANI" OUTPUT SHOULD BE LIKE :- ANI AIN NAI NIA IAN INA

3rd Dec 2017, 3:13 PM
Anil Kumar
Anil Kumar - avatar
9 ответов
+ 8
any body
3rd Dec 2017, 3:43 PM
Anil Kumar
Anil Kumar - avatar
+ 8
it works but one mistake in output.. it does not produce one combination.
4th Dec 2017, 4:15 PM
Anil Kumar
Anil Kumar - avatar
+ 8
i want to learn core program of next_premutation and begin () and end ();
4th Dec 2017, 4:16 PM
Anil Kumar
Anil Kumar - avatar
+ 7
@kurwius code has some error when i enter "Anil", it should produce 24 combination but produce only 19. https://code.sololearn.com/cvsQWOGzrQ5d/?ref=app
4th Dec 2017, 6:21 AM
Anil Kumar
Anil Kumar - avatar
+ 7
thanks
4th Dec 2017, 12:45 PM
Anil Kumar
Anil Kumar - avatar
+ 1
OK
15th Jan 2019, 5:09 AM
Anil Kumar
Anil Kumar - avatar