Some test cases are failing
@abhishek8181 maximum size of array can be till 10^6.
Also declare it globally since it requires large size so to avoid runtime error.
Also please the doubt as resolved if you have understood your mistake now.
@abhishek8181 maximum size of array can be till 10^6.
Also declare it globally since it requires large size so to avoid runtime error.
Also please the doubt as resolved if you have understood your mistake now.