763. Partition Labels
자료구조 & 알고리즘ㅤ/ㅤLeetCode

763. Partition Labels

문제

A string S of lowercase English letters is given. We want to partition this string into as many parts as possible so that each letter appears in at most one part, and return a list of integers representing the size of these parts.

 

핵심스킬

  • i

 

풀이

def

 

문제 링크

https://leetcode.com/problems/partition-labels/