solulubeta
Sign in
NeetCode 150 / Greedy
15.07 · Problem

Partition Labels

Medium Greedy with last occurrences 1 video LC 763 Pro

This problem is part of solulu Pro

Split s into as many parts as possible so that each letter appears in at most one part. Return the sizes of the parts, in order.

Lifetime ₹1,999 ₹999 · Launch offer
Mark this problem as solved when you are finished.

Item 128 of 150 · updated 2026-10-12