FlytBase interview question

Linked list, JavaScript problems and some puzzles