https://ide.geeksforgeeks.org/cSlEociEGW
size of arrays are too large after decreasing them code run correctly Modified Code