You are given a string s. We want to partition the string into as many parts as possible so that each letter appears in at most one part. Return a list of integers representing the size of these parts.
Constraints: 1 ≤ s.length ≤ 500 · s consists of lowercase English letters
Try cutting the string into partitions. Tap a gap between characters to place a cut.
Each partition must contain ALL occurrences of every character inside it. Find where you CAN safely cut "ababcbacadefegdehijhklij".
Tap the gaps between characters to place cuts. Find at least 2 invalid cuts and 1 valid cut to continue.