Minimum Partition Count with Length and Range Constraints | Code Master