Insert a Node at the Tail of a Linked List

  • + 0 comments

    Typescript. "Linked list" is a bit of a stretch.

        inputLines.forEach((x, i) => {
            if (i) {
                console.log(x);
            }
        })