Edge case 2 and 4 failing

i tried using these cases

null input returns NULL

1 2
output:1 2

can anyone tell me more edge cases?

Hey @agentsam007 Your code fails for the case where all the values of Linked list are same and you have to partition around the same element.
example Input :
7 7 7 7 7 7 7

Try to handle this case and submit your code again

1 Like

Closing this topic as your issue is resolved by the mentor. If it is still not resolved, Kindly un-mark the accepted solution or create a new topic and post this question as a reference link in the description of the new topic.