This is my code :
Not able to clear any of the test cases
Hey Kartik, any updates on the same β¦
Hey karthik, any updates, I have not heard from any TA yet
Hey @great
Mark it as resolved and then click reopen ,this will add your doubt to active doubts 
Again SORRY for delay 
hello @great

correct these lines .
median of even length array will be average of two middle element which u r not considering in ur code