Help with explanation
I’m not able to understand the question and the objective properly
hello @raghav007
u are given n discs and one side of each disk is black in color and other side is white.
this information is given in n length string S.
if Si is B then it means ith discs has black side visible otherwise white
and
no u need to perform the given operation maximum number of times and print its count
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.
in the sample test case BBW why is it this considered to be solved because it is stated that choose i from left such as i is black and i+1 th is white, In this case W is towards the right