字符串

来源:互联网 发布:python与 shell 编辑:程序博客网 时间:2024/06/05 09:15

若串str=”xunlei”,其子串的数目是()
字串: n(n+1)/2 + 1
非空子串:n(n+1)/2
非空真子串:n(n+1)/2 - 1

原创粉丝点击