Permutation of words | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
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 Respostas
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