String LeetCode 2405. Optimal Partition of String Solution in Java, C++, Python & More | Explanation + Code CoderIndeed July 10, 2026