Skip to content

Farzy/hackerrank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My HackerRank exercices

See https://www.hackerrank.com/

Installation

Bash 5 is needed for some complex exercises.

brew install bash

Running

Most applications need some input to be piped in standard input. The various samples are not included. Go to the HackerRank site, locate the exercice by using the source file's name and create a sample file test.txt holding it.

You can then run, for example:

cd statistics
cat ../test.txt | cargo run -- poisson-distribution

In order to facilitate testing, any file named test.txt or test2.txt at the root of this project is ignored by Git.

Authors