Comments

oh thanks a lot gentleman!! i understood

Yes this I understood but suppose I have the string "aaaaabbccccddd", won't there be 2 d remaining after I paired all a with b and c. The order thing I'm not getting that how will the letters be paired .

in problem C, if max. freq is greater than or equal to half then the answer would be 2*max freq — total letters but if it is less than that ? would it always get paired up if its not odd. Please explain it in detail . I am not getting the intuition

I understand that you said if I spend 10 minutes on a problem and didn't get anything, that means I'm unfamiliar with the concept but I think my focus is so bad that in that 10 mins also I'm not at the prime stage of my mind, then I give 10 more, then I get drowsy and I blame that it'd be due to not focusing. But if I still see the solution while not being focused just to take a hint and then solve it on my own, will it still help me?