class Solution{ public: int minOperations(string s){ int start0=0,start1=0; for(int i =0;i