Merge sort problem

why i’m getting TLE in this ??

Hey @CODER_JATIN
Please share ur code in Coding blocks IDE

Hey @CODER_JATIN
Updated ur code for removing both MLE and TLE : https://ide.codingblocks.com/s/352762

okay , but bhaiya why my code is giving TLE ?

because u are considering only > and < condns but not the condition when elements can be equal so that’s why it was stuck

Hey @CODER_JATIN
If u dont have any other doubt in this then please mark it as resolved :slight_smile:

@CODER_JATIN
Do u still have any doubt in this??