Question: Hands - On Programming Question 3 How to Attempt? Music Teacher A music teacher has developed a new technique to teach the students in which
HandsOn Programming
Question
How to Attempt?
Music Teacher
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
nodes in this technique from to To teach a new song the music teacher first
converts the song to string consisting of a to 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 whole song.
Input Specification:
input: A string representing the song string.
Output Specification:
Return the minimum number of days in which he can teach the whole song.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
