Mike and Hashtrick

I am getting tle for 2 cases and it passes for other cases.

hello @div_yanshu07 wait let me check your code .
i will let you know the error.