Code is working perfectly in IDE But not working here

Code is working perfectly in IDE But not working here

hi abhishek
Please share your code with me using coding blocks ide

Hey @abhishekdubey95_ea1c7d03364e2fba,
You added a few extra conditions in the partitioning which resulted in incorrect partitioning, thus you were getting the errors.

Here is your updated code:
I have commented out the invalid conditions.

Hope it helps :slight_smile: