LeetCode 763. Partition Labels 解題紀錄
將字串
s
分段,同一字母只能在一段中出現。Partition the string into as many parts as possible so that each letter appears in at most one part.