Mike and hashtrick

my code is giving one test case as TLE.
can you please tell me how to fix it

hello @Nishant_08
use unordered map and then try

1 Like

yes it passed all the cases now
Thank you sir