[Solved] Jay has a chocolate box that contains different types of chocolate
Jay has a chocolate box that contains different types of chocolate represented by a lowercase character. Chocolates are arranged in a row. Jay wants to divide the row into pieces such that both the pieces have an equal number of…