Please tell the error in the given code?

@dhruvtrehan45

  1. you were not taking testcase as the input, I guess you didn’t even read the input details
  2. your print function was wrong, you could have seen this error if you even tried to print the linkedlist.
  3. your build function was wrong, again you didn/t even read the input details.
    You should do the basic debugging yourself only that will help you grow and improve.
    https://ide.codingblocks.com/s/254342

This is not a solution to problem in Linked List (Challenges). This program is a basic structure of the merging two sorted Linked List

hey @abhinandankainth1999 can I see other peoples solution after I have submitted my answer in the online class room