Merge sorted linked list


whats wrong in this code it shows wrong output

Modified Code

mistakes

  1. inside create_list() see the modified Code
  2. inside insert_at_tail() at line no 23

now this modified Code is passing all test case

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course