Apr 8, 2023 · 7 min read · 31 viewsUsing Bit Manipulation to store the occurrence of characters with constant extra spaceLeetcode 2405: Optimal Partition of String using Bit Manipulation with constant extra space.