i don’t know whats the differnece in the two codes
according to me they are same
but 1 gives correct ouput but other doesn’t plzz look into it?
Insertion at tail confusion
hey @yatin, check the line no 34 of your first code, you have place semcolon after thatswhy it is giving wrong answer. while other code code have that semicolon, so it is giving right answer.
okk sir
thank you
hey @yatin , if your query is resolved. Please mark this doubt as resolved and rate me on the basis of your experience.
rating option will appear when to mark this doubt as resolved