https://hack.codingblocks.com/contests/c/511/468
https://ide.codingblocks.com/s/51949
I am getting run time error whenever i try to use mergesort funcction.Please help me figure out what i am doing wrong.
Linked list mergesort
In midpoint function make fast=head->next. instead of fast=head.
1 Like
thanks for the suggestion.Now only 1 out of 3 test cases is getting failed.