A music teacher has developed a new technique to teach the students in which each unique node
Fantastic news! We've Found the answer you've been seeking!
Question:
A music teacher has developed a new technique to teach the students in which each unique node is identified by a lower character of English alphabet. In total there are 26 nodes inthis technique from'a'to 2. To teach a new song the music teacher first converts the song to string consisting of a to z then he breaks it into melodies. A melody is a collection of nodes in which the frequency of each node present in that melody is the same. he strictly teaches one melody in one day. you are given the song string and your task is to find and return the minimum number of days in which he can teach the song. Input specification : input1: A string representing the song string "abbaabed" Output:2 ii)input1: abcd output: 1 Please provide java code
Related Book For
An Introduction To Statistical Methods And Data Analysis
ISBN: 9781305465527
7th Edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date: