Permutation of words | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Permutation of words

Can someone give the code of permutation of words? For example input is "Bill Gates" and output is "Gates Bill"

22nd Jun 2017, 12:39 PM
Maria
Maria - avatar
3 Answers
26th Jun 2017, 7:10 PM
Angelina
Angelina - avatar
+ 1
https://code.sololearn.com/cmdm8sx75201/?ref=app in java
22nd Jun 2017, 1:14 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
but this is not permutation.. it would be like GTAES TGAES ATGES EGTSA .....
22nd Jun 2017, 12:47 PM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar