Using Bit Manipulation to store the occurrence of characters with constant extra space
Problem Link:
Leetcode 2405: Optimal Partition of String
Problem Statement:
Note: Input string can have only lowercase characters.
Understanding the problem:
A substring is a contiguous sequence of characters within the string. Thus, the longest su...
kumaramit1947.hashnode.dev7 min read