FlytBase Interview Question

Linked list, JavaScript problems and some puzzles