Subarray Sum Equal To k - test case 1 failing

On submitting my code , my test case 1 is failing however its getting submitted over the leetcode, but test case 1 fails on submitting it in the question in course
code link:-https://drive.google.com/file/d/1YhZR_mW3dVQe6awLIqVbakapILQIrTBE/view?usp=sharing

Hey @saksham_thukral
Take long long for sum and map instead of int and it will work fine.

If this resolves your query then please mark it as resolved :slight_smile:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.