test case: HGGHGHHGHHHGHG here the editorials code gives 2 but the answer is 1 where we will flip at position 5 so the answer will be HGHGGHHGHHHGHG Correct me if i am wrong Thank you