Merge Sort Problem

Why is it showing error please check

@anindya-gupta
I tried it and it is working fine. What error is it showing?

It is showing Run error

@anindya-gupta
Are you trying to submit this on the platform? Because the constraints are much bigger on hackerblocks and you have declared an array of size 1000. I think that might be the issue.