Creating series with first - last - second - second last - third etc. with recursion

后端 未结 0 973
半阙折子戏
半阙折子戏 2021-02-19 00:39

How can I convert a string like \'abcdef\' to \'afbecd\' without using loops. Just recursion. Tried slicing and then recursing but cannot get the string back and find the correc

相关标签:
回答
  • 消灭零回复
提交回复
热议问题