recursion moving char to the end of the string

后端 未结 3 1335
我寻月下人不归
我寻月下人不归 2021-01-24 15:04

i need to get a string and rearrange it with recursion by getting char and by that char i have to move that char everywhere on the string to the end like \"Hello world!\" ,\'l\

3条回答
  •  执笔经年
    2021-01-24 15:35

    If you use while loop and write a method to check if that string means perfect statement then that may work for you Here you would need some help of NLP concept to check everytime if arranged chars are making any statement or are grammatically correct. This will help

提交回复
热议问题