We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
In the Hill Climb game, each race course is divided into several checkpoints, and these are stored sequentially in a linked list. Each node in the linked list contains the distance (in meters) from the starting point to a checkpoint. How to write a program that prints all the checkpoint distances in the order they appear in the list.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Print the Elements of a Linked List
You are viewing a single comment's thread. Return to all comments →
In the Hill Climb game, each race course is divided into several checkpoints, and these are stored sequentially in a linked list. Each node in the linked list contains the distance (in meters) from the starting point to a checkpoint. How to write a program that prints all the checkpoint distances in the order they appear in the list.