Please tell me where i m going wrong
@haseebshaik00
There are many mistakes in your code.
You found out the count in both the strings to make a different call in case the count of a is greater than b or vice versa. But you havent used that detail which basically means that you have done the same thing in both the function calls. The approach is flawed. You need to approach the question in a two pointer approach. You will also have you think of a way to counter the case when k = 0.
Please give some thought on the two pointer approach. If you face any difficulty, please free to revert back