Question: A string is stable when B , D , U , H are present n / 4 times in the string , where n is
A string is stable when BDUH are present n times in the string where n is the size of string.
you are given a string, what is the length of minimum substring that has to replaced to make a string stable.
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
