SanketAndString apporach with uordered_map
Hey @krishav49
Your logic is incoorect
say
1
aaabbbaaa
for this output should be 4 but urs code will give 7
check this for correct logic Please give some hint to solve this problem
Hey @krishav49
Your logic is incoorect
say
1
aaabbbaaa
for this output should be 4 but urs code will give 7
check this for correct logic Please give some hint to solve this problem