Error in todays LeetCode challenge?

In the c++ starting code there is only 1 input, the node to remove, in the examples if gives a list and a node to delete. Is there an error with the c++ code or am i just not realising somthing?

Comments (2)