Comments

Hi, can you predict my rating- Ayush_Patil. Thanks!

Why can't we reverse the strings when n & k don't have same parity?

In problem B why the condition (n%2==k%2) is used? Can someone please explain it?