Subsequences of a string of an specified length starting with a particular index

前端 未结 0 1696
陌清茗
陌清茗 2020-12-02 10:52

For example if I have the string "ABCD" and I would like to get all subsequences of length 2 of this string, starting at index 0 , the output would be {AB,AC,AD}.

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