Skip to content

Fastest slide - compete at sliding down a pyramid and to win you need to take the fastest path to the bottom.

Notifications You must be signed in to change notification settings

jjrobotham/fastest-slide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fastest Slide

Application made to compete at sliding down a pyramid; to win the app needs to take the fastest path to the bottom.

The application takes the assumption that you can only traverse down the pyramid by jumping to smallest adjacent value.

Contents

  1. How To Run Application

How To Run Application

Prerequisites

You will need to have the following installed:

Node JS ( v12.x or higher)

npm ( v6.x or higher)

The application can be run by using either of the following commands:

Using NPM

npm run start

Using Node JS

node index.js

Specifying a file input

The default file input used is lib/inputFiles/example.txt and if you wish to specify another file as the input you can do by running the command below:

node index.js {path-to-file}

Where {path-to-file} is the location of the desired file.

About

Fastest slide - compete at sliding down a pyramid and to win you need to take the fastest path to the bottom.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published