Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

划分字母区间 - 芜湖金牌飞行员的博客 #11

Open
karhow opened this issue Apr 20, 2022 · 1 comment
Open

划分字母区间 - 芜湖金牌飞行员的博客 #11

karhow opened this issue Apr 20, 2022 · 1 comment

Comments

@karhow
Copy link
Owner

karhow commented Apr 20, 2022

https://wuhugoldpilot.github.io/2022/04/20/algorithm-partitionLabels.html

题目描述字符串 S 由小写字母组成。我们要把这个字符串划分为尽可能多的片段,同一字母最多出现在一个片段中。返回一个表示每个字符串片段的长度的列表。示例:输入:S = “ababcbacadefegdehijhklij”输出:[9,7,8]解释:划分结果为 “ababcbaca”, “defegde”, “hijh...

@karhow
Copy link
Owner Author

karhow commented Apr 20, 2022

有问题欢迎提出呀! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant