Comments

hello everyone!

Solutions of C given is in O(n^2). This can question can be solved in better complexity? If you have any idea suggest

In the solution, you have taken

char response[3];

It is showing compilation error when we take "string response" as input. Why is this happening?