Ad
  • Custom User Avatar

    I can't answer a question if none is given. I can't correct your code if none is given. I can't see incomplete solutions.

    I'm guessing you're confirming that you must write those four functions. Yes, you must write head, tail, init and last.

    I am resolving this question as there is no more to say.