To run any file type:
ruby <name of file>
in the command line
To run any file type:
node <name of file>
in the command line (node.js needs to be installed)
The idea behind these challenges is to practice problem solving, use different data types and apply some basic algorithms.