Https://ide.codingblocks.com/s/312676

2 test cases are not passing. i am not able to detect the error.please tell

@jatin_wadhwa in check function when sum>mid,
initialize sum with arr[i]xt.