Hey friends i am solving this problem but i got an runtime error and not able to figure out that why i am getting this error for the input [0,0]
my code gives right answe