From 67cdd35efcf8c026c738ede53dcf8662282fbe29 Mon Sep 17 00:00:00 2001 From: Mohammad S Anwar Date: Mon, 4 May 2020 04:08:12 +0100 Subject: - Added template for Challenge 059. --- challenge-059/aaron-rowe/README | 1 + challenge-059/aaron-sherman/README | 1 + challenge-059/abigail/README | 1 + challenge-059/adam-russell/README | 1 + challenge-059/ailbhe-tweedie/README | 1 + challenge-059/alex-daniel/README | 1 + challenge-059/alexander-karelas/README | 1 + challenge-059/alicia-bielsa/README | 1 + challenge-059/andrezgz/README | 1 + challenge-059/anton-fedotov/README | 1 + challenge-059/antonio-gamiz/README | 1 + challenge-059/arne-sommer/README | 1 + challenge-059/arpad-toth/README | 1 + challenge-059/athanasius/README | 1 + challenge-059/aubrey-quarcoo/README | 1 + challenge-059/ben-davies/README.md | 11 +++ challenge-059/bill-palmer/README | 1 + challenge-059/bob-kleemann/README | 1 + challenge-059/bruno-ramos/README | 1 + challenge-059/burkhard-nickels/README | 1 + challenge-059/bwva/README | 1 + challenge-059/cheok-yin-fung/README | 1 + challenge-059/cliveholloway/README | 1 + challenge-059/colin-crain/README | 1 + challenge-059/creewick/README | 1 + challenge-059/cristian-heredia/README | 1 + challenge-059/daniel-mantovani/README | 1 + challenge-059/daniel-mita/README | 1 + challenge-059/darren-bottin/README | 1 + challenge-059/dave-cross/README | 1 + challenge-059/dave-jacoby/README | 1 + challenge-059/david-kayal/README | 1 + challenge-059/denis-yurashku/README | 1 + challenge-059/donald-hunter/README | 1 + challenge-059/doug-schrag/README | 1 + challenge-059/dracos/README | 1 + challenge-059/duane-powell/README | 1 + challenge-059/duncan-c-white/README | 69 +++++++++++++++ challenge-059/e-choroba/README | 1 + challenge-059/eddy-hs/README | 1 + challenge-059/fabrizio-poggi/README | 1 + challenge-059/feng-chang/README | 1 + challenge-059/finley/README | 1 + challenge-059/fjwhittle/README | 1 + challenge-059/fred-zinn/README | 1 + challenge-059/freddie-b/README | 1 + challenge-059/giuseppe-terlizzi/README | 1 + challenge-059/guillermo-ramos/README | 1 + challenge-059/gustavo-chaves/README | 1 + challenge-059/hauke-d/README | 1 + challenge-059/ianrifkin/README | 1 + challenge-059/izifresh/README | 1 + challenge-059/jacques-guinnebault/README | 1 + challenge-059/jaime/README | 59 +++++++++++++ challenge-059/jaldhar-h-vyas/README | 1 + challenge-059/james-smith/README.md | 129 +++++++++++++++++++++++++++++ challenge-059/jaredor/README | 1 + challenge-059/javier-luque/README | 1 + challenge-059/jeff/README | 1 + challenge-059/jeremy-carman/README | 1 + challenge-059/jim-bacon/README | 1 + challenge-059/jitu-keshwani/README | 1 + challenge-059/jj-merelo/README | 1 + challenge-059/jo-37/README | 1 + challenge-059/jo-christian-oterhals/README | 1 + challenge-059/joe-tym/README | 1 + challenge-059/joelle-maslak/README | 1 + challenge-059/john-barrett/README | 1 + challenge-059/jokraft/README | 1 + challenge-059/juan-caballero/README | 1 + challenge-059/julien-fiegehenn/README | 1 + challenge-059/kevin-colyer/README | 3 + challenge-059/khalid/README | 1 + challenge-059/kian-meng-ang/README | 1 + challenge-059/kiran-kumar/README | 1 + challenge-059/kivanc-yazan/.gitignore | 2 + challenge-059/kivanc-yazan/README | 1 + challenge-059/lars-balker/README | 1 + challenge-059/lars-thegler/README | 1 + challenge-059/laurent-rosenfeld/README | 1 + challenge-059/leoltron/README | 1 + challenge-059/lubos-kolouch/README | 1 + challenge-059/luca-ferrari/README | 1 + challenge-059/magnus-woldrich/README | 1 + challenge-059/manfredi/README | 1 + challenge-059/mano-chandar/README | 1 + challenge-059/mark-anderson/README | 1 + challenge-059/mark-senn/README | 1 + challenge-059/markus-holzer/README | 1 + challenge-059/martin-barth/README | 1 + challenge-059/martin-mugeni/README | 1 + challenge-059/matt-latusek/README | 1 + challenge-059/matthew-persico/README | 1 + challenge-059/maxim-kolodyazhny/README | 1 + challenge-059/maxim-nechaev/README | 1 + challenge-059/michael-hamlin/README | 5 ++ challenge-059/michael-schaap/README | 1 + challenge-059/mike-accardo/README | 1 + challenge-059/mohammad-anwar/README | 1 + challenge-059/ndelucca/README | 1 + challenge-059/neil-bowers/README | 1 + challenge-059/nick-logan/README | 1 + challenge-059/nikhil-prasanna/README | 1 + challenge-059/noud/README | 1 + challenge-059/ohmycloud/README | 1 + challenge-059/oleksii-tsvietnov/README | 1 + challenge-059/olli-antti/README | 1 + challenge-059/orestis-zekai/README | 1 + challenge-059/ozzy/README | 1 + challenge-059/pavel-jurca/README | 1 + challenge-059/pavel-starikov/README | 1 + challenge-059/pete-houston/README | 1 + challenge-059/pete-sergeant/README | 1 + challenge-059/peter-meszaros/README | 1 + challenge-059/peter-scott/README | 1 + challenge-059/petr-roubicek/README | 1 + challenge-059/philippe-bruhat/README | 1 + challenge-059/phillip-harris/README | 1 + challenge-059/prajith-p/README | 1 + challenge-059/rage311/README | 1 + challenge-059/randy-lauen/README | 1 + challenge-059/richard-park/README | 1 + challenge-059/rnuttall/README | 1 + challenge-059/rob-van-dam/README | 1 + challenge-059/rob4t/README | 1 + challenge-059/roger-bell-west/README | 1 + challenge-059/ruben-westerberg/README | 9 ++ challenge-059/ryan-thompson/README.md | 19 +++++ challenge-059/saiftynet/README | 1 + challenge-059/sean-meininger/README | 1 + challenge-059/sergiotarxz/README | 1 + challenge-059/shahed-nooshmand/README | 1 + challenge-059/shardiwal/README | 1 + challenge-059/shaun-pearce/README | 1 + challenge-059/simon-miner/README | 1 + challenge-059/simon-proctor/README | 1 + challenge-059/simon-reinhardt/README | 1 + challenge-059/sol-demuth/README | 1 + challenge-059/southpawgeek/README | 1 + challenge-059/steve-rogerson/README | 1 + challenge-059/steven-lembark/README | 1 + challenge-059/steven-wilson/README | 1 + challenge-059/svetlana-nesterova/README | 1 + challenge-059/testerR59/README | 1 + challenge-059/tiago-stock/README | 1 + challenge-059/tim-smith/README | 1 + challenge-059/tore-andersson/README | 1 + challenge-059/trenton-langer/README | 1 + challenge-059/tyler-limkemann/README | 1 + challenge-059/ulrich-rieke/README | 1 + challenge-059/user-person/README | 1 + challenge-059/uzluisf/README | 1 + challenge-059/veesh-goldman/README | 1 + challenge-059/vyacheslav-volgarev/README | 1 + challenge-059/walt-mankowski/README | 1 + challenge-059/wanderdoc/README | 1 + challenge-059/william-gilmore/README | 1 + challenge-059/xkr47/README | 1 + challenge-059/yary-h/README | 1 + challenge-059/yet-ebreo/README | 1 + challenge-059/yozen-hernandez/README | 1 + 161 files changed, 458 insertions(+) create mode 100644 challenge-059/aaron-rowe/README create mode 100644 challenge-059/aaron-sherman/README create mode 100644 challenge-059/abigail/README create mode 100644 challenge-059/adam-russell/README create mode 100644 challenge-059/ailbhe-tweedie/README create mode 100644 challenge-059/alex-daniel/README create mode 100644 challenge-059/alexander-karelas/README create mode 100644 challenge-059/alicia-bielsa/README create mode 100644 challenge-059/andrezgz/README create mode 100644 challenge-059/anton-fedotov/README create mode 100644 challenge-059/antonio-gamiz/README create mode 100644 challenge-059/arne-sommer/README create mode 100644 challenge-059/arpad-toth/README create mode 100644 challenge-059/athanasius/README create mode 100644 challenge-059/aubrey-quarcoo/README create mode 100644 challenge-059/ben-davies/README.md create mode 100644 challenge-059/bill-palmer/README create mode 100644 challenge-059/bob-kleemann/README create mode 100644 challenge-059/bruno-ramos/README create mode 100644 challenge-059/burkhard-nickels/README create mode 100644 challenge-059/bwva/README create mode 100644 challenge-059/cheok-yin-fung/README create mode 100644 challenge-059/cliveholloway/README create mode 100644 challenge-059/colin-crain/README create mode 100644 challenge-059/creewick/README create mode 100644 challenge-059/cristian-heredia/README create mode 100644 challenge-059/daniel-mantovani/README create mode 100644 challenge-059/daniel-mita/README create mode 100644 challenge-059/darren-bottin/README create mode 100644 challenge-059/dave-cross/README create mode 100644 challenge-059/dave-jacoby/README create mode 100644 challenge-059/david-kayal/README create mode 100644 challenge-059/denis-yurashku/README create mode 100644 challenge-059/donald-hunter/README create mode 100644 challenge-059/doug-schrag/README create mode 100644 challenge-059/dracos/README create mode 100644 challenge-059/duane-powell/README create mode 100644 challenge-059/duncan-c-white/README create mode 100644 challenge-059/e-choroba/README create mode 100644 challenge-059/eddy-hs/README create mode 100644 challenge-059/fabrizio-poggi/README create mode 100644 challenge-059/feng-chang/README create mode 100644 challenge-059/finley/README create mode 100644 challenge-059/fjwhittle/README create mode 100644 challenge-059/fred-zinn/README create mode 100644 challenge-059/freddie-b/README create mode 100644 challenge-059/giuseppe-terlizzi/README create mode 100644 challenge-059/guillermo-ramos/README create mode 100644 challenge-059/gustavo-chaves/README create mode 100644 challenge-059/hauke-d/README create mode 100644 challenge-059/ianrifkin/README create mode 100644 challenge-059/izifresh/README create mode 100644 challenge-059/jacques-guinnebault/README create mode 100644 challenge-059/jaime/README create mode 100644 challenge-059/jaldhar-h-vyas/README create mode 100644 challenge-059/james-smith/README.md create mode 100644 challenge-059/jaredor/README create mode 100644 challenge-059/javier-luque/README create mode 100644 challenge-059/jeff/README create mode 100644 challenge-059/jeremy-carman/README create mode 100644 challenge-059/jim-bacon/README create mode 100644 challenge-059/jitu-keshwani/README create mode 100644 challenge-059/jj-merelo/README create mode 100644 challenge-059/jo-37/README create mode 100644 challenge-059/jo-christian-oterhals/README create mode 100644 challenge-059/joe-tym/README create mode 100644 challenge-059/joelle-maslak/README create mode 100644 challenge-059/john-barrett/README create mode 100644 challenge-059/jokraft/README create mode 100644 challenge-059/juan-caballero/README create mode 100644 challenge-059/julien-fiegehenn/README create mode 100644 challenge-059/kevin-colyer/README create mode 100644 challenge-059/khalid/README create mode 100644 challenge-059/kian-meng-ang/README create mode 100644 challenge-059/kiran-kumar/README create mode 100644 challenge-059/kivanc-yazan/.gitignore create mode 100644 challenge-059/kivanc-yazan/README create mode 100644 challenge-059/lars-balker/README create mode 100644 challenge-059/lars-thegler/README create mode 100644 challenge-059/laurent-rosenfeld/README create mode 100644 challenge-059/leoltron/README create mode 100644 challenge-059/lubos-kolouch/README create mode 100644 challenge-059/luca-ferrari/README create mode 100644 challenge-059/magnus-woldrich/README create mode 100644 challenge-059/manfredi/README create mode 100644 challenge-059/mano-chandar/README create mode 100644 challenge-059/mark-anderson/README create mode 100644 challenge-059/mark-senn/README create mode 100644 challenge-059/markus-holzer/README create mode 100644 challenge-059/martin-barth/README create mode 100644 challenge-059/martin-mugeni/README create mode 100644 challenge-059/matt-latusek/README create mode 100644 challenge-059/matthew-persico/README create mode 100644 challenge-059/maxim-kolodyazhny/README create mode 100644 challenge-059/maxim-nechaev/README create mode 100644 challenge-059/michael-hamlin/README create mode 100644 challenge-059/michael-schaap/README create mode 100644 challenge-059/mike-accardo/README create mode 100644 challenge-059/mohammad-anwar/README create mode 100644 challenge-059/ndelucca/README create mode 100644 challenge-059/neil-bowers/README create mode 100644 challenge-059/nick-logan/README create mode 100644 challenge-059/nikhil-prasanna/README create mode 100644 challenge-059/noud/README create mode 100644 challenge-059/ohmycloud/README create mode 100644 challenge-059/oleksii-tsvietnov/README create mode 100644 challenge-059/olli-antti/README create mode 100644 challenge-059/orestis-zekai/README create mode 100644 challenge-059/ozzy/README create mode 100644 challenge-059/pavel-jurca/README create mode 100644 challenge-059/pavel-starikov/README create mode 100644 challenge-059/pete-houston/README create mode 100644 challenge-059/pete-sergeant/README create mode 100644 challenge-059/peter-meszaros/README create mode 100644 challenge-059/peter-scott/README create mode 100644 challenge-059/petr-roubicek/README create mode 100644 challenge-059/philippe-bruhat/README create mode 100644 challenge-059/phillip-harris/README create mode 100644 challenge-059/prajith-p/README create mode 100644 challenge-059/rage311/README create mode 100644 challenge-059/randy-lauen/README create mode 100644 challenge-059/richard-park/README create mode 100644 challenge-059/rnuttall/README create mode 100644 challenge-059/rob-van-dam/README create mode 100644 challenge-059/rob4t/README create mode 100644 challenge-059/roger-bell-west/README create mode 100644 challenge-059/ruben-westerberg/README create mode 100644 challenge-059/ryan-thompson/README.md create mode 100644 challenge-059/saiftynet/README create mode 100644 challenge-059/sean-meininger/README create mode 100644 challenge-059/sergiotarxz/README create mode 100644 challenge-059/shahed-nooshmand/README create mode 100644 challenge-059/shardiwal/README create mode 100644 challenge-059/shaun-pearce/README create mode 100644 challenge-059/simon-miner/README create mode 100644 challenge-059/simon-proctor/README create mode 100644 challenge-059/simon-reinhardt/README create mode 100644 challenge-059/sol-demuth/README create mode 100644 challenge-059/southpawgeek/README create mode 100644 challenge-059/steve-rogerson/README create mode 100644 challenge-059/steven-lembark/README create mode 100644 challenge-059/steven-wilson/README create mode 100644 challenge-059/svetlana-nesterova/README create mode 100644 challenge-059/testerR59/README create mode 100644 challenge-059/tiago-stock/README create mode 100644 challenge-059/tim-smith/README create mode 100644 challenge-059/tore-andersson/README create mode 100644 challenge-059/trenton-langer/README create mode 100644 challenge-059/tyler-limkemann/README create mode 100644 challenge-059/ulrich-rieke/README create mode 100644 challenge-059/user-person/README create mode 100644 challenge-059/uzluisf/README create mode 100644 challenge-059/veesh-goldman/README create mode 100644 challenge-059/vyacheslav-volgarev/README create mode 100644 challenge-059/walt-mankowski/README create mode 100644 challenge-059/wanderdoc/README create mode 100644 challenge-059/william-gilmore/README create mode 100644 challenge-059/xkr47/README create mode 100644 challenge-059/yary-h/README create mode 100644 challenge-059/yet-ebreo/README create mode 100644 challenge-059/yozen-hernandez/README (limited to 'challenge-059') diff --git a/challenge-059/aaron-rowe/README b/challenge-059/aaron-rowe/README new file mode 100644 index 0000000000..e14e0782fb --- /dev/null +++ b/challenge-059/aaron-rowe/README @@ -0,0 +1 @@ +Solutions by Aaron Rowe. diff --git a/challenge-059/aaron-sherman/README b/challenge-059/aaron-sherman/README new file mode 100644 index 0000000000..14ec31f570 --- /dev/null +++ b/challenge-059/aaron-sherman/README @@ -0,0 +1 @@ +Solutions by Aaron Sherman. diff --git a/challenge-059/abigail/README b/challenge-059/abigail/README new file mode 100644 index 0000000000..5f0d73ae16 --- /dev/null +++ b/challenge-059/abigail/README @@ -0,0 +1 @@ +Solution by Abigail diff --git a/challenge-059/adam-russell/README b/challenge-059/adam-russell/README new file mode 100644 index 0000000000..1d2e2957c5 --- /dev/null +++ b/challenge-059/adam-russell/README @@ -0,0 +1 @@ +Solution by Adam Russell diff --git a/challenge-059/ailbhe-tweedie/README b/challenge-059/ailbhe-tweedie/README new file mode 100644 index 0000000000..36d4034b70 --- /dev/null +++ b/challenge-059/ailbhe-tweedie/README @@ -0,0 +1 @@ +Solution by Ailbhe Tweedie diff --git a/challenge-059/alex-daniel/README b/challenge-059/alex-daniel/README new file mode 100644 index 0000000000..65550789bd --- /dev/null +++ b/challenge-059/alex-daniel/README @@ -0,0 +1 @@ +Solution by Alex Daniel. diff --git a/challenge-059/alexander-karelas/README b/challenge-059/alexander-karelas/README new file mode 100644 index 0000000000..3de9fce8d9 --- /dev/null +++ b/challenge-059/alexander-karelas/README @@ -0,0 +1 @@ +Solution by Alexander Karelas diff --git a/challenge-059/alicia-bielsa/README b/challenge-059/alicia-bielsa/README new file mode 100644 index 0000000000..c5187874c3 --- /dev/null +++ b/challenge-059/alicia-bielsa/README @@ -0,0 +1 @@ +Solution by Alicia Beilsa. diff --git a/challenge-059/andrezgz/README b/challenge-059/andrezgz/README new file mode 100644 index 0000000000..f4fd0da88e --- /dev/null +++ b/challenge-059/andrezgz/README @@ -0,0 +1 @@ +Solution by Andrezgz diff --git a/challenge-059/anton-fedotov/README b/challenge-059/anton-fedotov/README new file mode 100644 index 0000000000..f7c4f6deed --- /dev/null +++ b/challenge-059/anton-fedotov/README @@ -0,0 +1 @@ +Solutions by Anton Fedotov. diff --git a/challenge-059/antonio-gamiz/README b/challenge-059/antonio-gamiz/README new file mode 100644 index 0000000000..1f5ed5871a --- /dev/null +++ b/challenge-059/antonio-gamiz/README @@ -0,0 +1 @@ +Solution by Antonio Gamiz diff --git a/challenge-059/arne-sommer/README b/challenge-059/arne-sommer/README new file mode 100644 index 0000000000..b5d88e4df4 --- /dev/null +++ b/challenge-059/arne-sommer/README @@ -0,0 +1 @@ +Solution by Arne Sommer. diff --git a/challenge-059/arpad-toth/README b/challenge-059/arpad-toth/README new file mode 100644 index 0000000000..6661dd82c1 --- /dev/null +++ b/challenge-059/arpad-toth/README @@ -0,0 +1 @@ +Solution by Arpad Toth diff --git a/challenge-059/athanasius/README b/challenge-059/athanasius/README new file mode 100644 index 0000000000..cc357fda4a --- /dev/null +++ b/challenge-059/athanasius/README @@ -0,0 +1 @@ +Solution by Athanasius diff --git a/challenge-059/aubrey-quarcoo/README b/challenge-059/aubrey-quarcoo/README new file mode 100644 index 0000000000..8e63a2c1f5 --- /dev/null +++ b/challenge-059/aubrey-quarcoo/README @@ -0,0 +1 @@ +Solution by Aubrey Quarcoo diff --git a/challenge-059/ben-davies/README.md b/challenge-059/ben-davies/README.md new file mode 100644 index 0000000000..9b706ecd09 --- /dev/null +++ b/challenge-059/ben-davies/README.md @@ -0,0 +1,11 @@ +Solution by Ben Davies + +# Using the Solutions + +- Install + [Idris](https://github.com/idris-lang/Idris-dev/wiki/Installation-Instructions) + and ensure its executable is in your path. +- Run `$ make -j2`. The executables for the challenges will be output to + `./ch-1` and `./ch-2`. +- Run `$ make clean` to remove compiled objects or `$ make distclean` to + remove the executables as well, if you wish. diff --git a/challenge-059/bill-palmer/README b/challenge-059/bill-palmer/README new file mode 100644 index 0000000000..08ec849a41 --- /dev/null +++ b/challenge-059/bill-palmer/README @@ -0,0 +1 @@ +Solution by Bill Palmer. diff --git a/challenge-059/bob-kleemann/README b/challenge-059/bob-kleemann/README new file mode 100644 index 0000000000..78680e4035 --- /dev/null +++ b/challenge-059/bob-kleemann/README @@ -0,0 +1 @@ +Solution by Bob Kleemann diff --git a/challenge-059/bruno-ramos/README b/challenge-059/bruno-ramos/README new file mode 100644 index 0000000000..9d631dad8f --- /dev/null +++ b/challenge-059/bruno-ramos/README @@ -0,0 +1 @@ +Solutions by Bruno Ramos. diff --git a/challenge-059/burkhard-nickels/README b/challenge-059/burkhard-nickels/README new file mode 100644 index 0000000000..f5e16bb98b --- /dev/null +++ b/challenge-059/burkhard-nickels/README @@ -0,0 +1 @@ +Solutions by Burkhard Nickels. diff --git a/challenge-059/bwva/README b/challenge-059/bwva/README new file mode 100644 index 0000000000..ee6a7d7dc1 --- /dev/null +++ b/challenge-059/bwva/README @@ -0,0 +1 @@ +Solution(s) by bwva (Bruce Van Allen) diff --git a/challenge-059/cheok-yin-fung/README b/challenge-059/cheok-yin-fung/README new file mode 100644 index 0000000000..4413b13ada --- /dev/null +++ b/challenge-059/cheok-yin-fung/README @@ -0,0 +1 @@ +Solutions by Cheok-Yin Fung. diff --git a/challenge-059/cliveholloway/README b/challenge-059/cliveholloway/README new file mode 100644 index 0000000000..b69201296e --- /dev/null +++ b/challenge-059/cliveholloway/README @@ -0,0 +1 @@ +Solution by Clive Holloway diff --git a/challenge-059/colin-crain/README b/challenge-059/colin-crain/README new file mode 100644 index 0000000000..2a5d87e97d --- /dev/null +++ b/challenge-059/colin-crain/README @@ -0,0 +1 @@ +Solutions by Colin Crain. diff --git a/challenge-059/creewick/README b/challenge-059/creewick/README new file mode 100644 index 0000000000..c490e4fb80 --- /dev/null +++ b/challenge-059/creewick/README @@ -0,0 +1 @@ +Solutions by Creewick. diff --git a/challenge-059/cristian-heredia/README b/challenge-059/cristian-heredia/README new file mode 100644 index 0000000000..c53da8a54c --- /dev/null +++ b/challenge-059/cristian-heredia/README @@ -0,0 +1 @@ +Solutions by Cristina Heredia. diff --git a/challenge-059/daniel-mantovani/README b/challenge-059/daniel-mantovani/README new file mode 100644 index 0000000000..ed538216f2 --- /dev/null +++ b/challenge-059/daniel-mantovani/README @@ -0,0 +1 @@ +Solution by Daniel Mantovani diff --git a/challenge-059/daniel-mita/README b/challenge-059/daniel-mita/README new file mode 100644 index 0000000000..37339f491f --- /dev/null +++ b/challenge-059/daniel-mita/README @@ -0,0 +1 @@ +Solution by Daniel Mita diff --git a/challenge-059/darren-bottin/README b/challenge-059/darren-bottin/README new file mode 100644 index 0000000000..6c792afe8e --- /dev/null +++ b/challenge-059/darren-bottin/README @@ -0,0 +1 @@ +Solutions by Darren Bottin. diff --git a/challenge-059/dave-cross/README b/challenge-059/dave-cross/README new file mode 100644 index 0000000000..04b1b0623b --- /dev/null +++ b/challenge-059/dave-cross/README @@ -0,0 +1 @@ +Solution by Dave Cross diff --git a/challenge-059/dave-jacoby/README b/challenge-059/dave-jacoby/README new file mode 100644 index 0000000000..7c06689f16 --- /dev/null +++ b/challenge-059/dave-jacoby/README @@ -0,0 +1 @@ +Solution by Dave Jacoby diff --git a/challenge-059/david-kayal/README b/challenge-059/david-kayal/README new file mode 100644 index 0000000000..66f8615260 --- /dev/null +++ b/challenge-059/david-kayal/README @@ -0,0 +1 @@ +Solution by David Kayal diff --git a/challenge-059/denis-yurashku/README b/challenge-059/denis-yurashku/README new file mode 100644 index 0000000000..2fea994000 --- /dev/null +++ b/challenge-059/denis-yurashku/README @@ -0,0 +1 @@ +Solutions by Denis Yurashku. diff --git a/challenge-059/donald-hunter/README b/challenge-059/donald-hunter/README new file mode 100644 index 0000000000..2eef878f17 --- /dev/null +++ b/challenge-059/donald-hunter/README @@ -0,0 +1 @@ +Solutions by Donald Hunter. diff --git a/challenge-059/doug-schrag/README b/challenge-059/doug-schrag/README new file mode 100644 index 0000000000..bf8a10ffb4 --- /dev/null +++ b/challenge-059/doug-schrag/README @@ -0,0 +1 @@ +Solution by Doug Schrag diff --git a/challenge-059/dracos/README b/challenge-059/dracos/README new file mode 100644 index 0000000000..a9a6517a03 --- /dev/null +++ b/challenge-059/dracos/README @@ -0,0 +1 @@ +Solutions by Matthew Somerville. diff --git a/challenge-059/duane-powell/README b/challenge-059/duane-powell/README new file mode 100644 index 0000000000..3445422743 --- /dev/null +++ b/challenge-059/duane-powell/README @@ -0,0 +1 @@ +Solutions by Duane Powell. diff --git a/challenge-059/duncan-c-white/README b/challenge-059/duncan-c-white/README new file mode 100644 index 0000000000..ec66b1a712 --- /dev/null +++ b/challenge-059/duncan-c-white/README @@ -0,0 +1,69 @@ +Task 1: "Compare Version + +Compare two given version number strings v1 and v2 such that: + + If v1 > v2 return 1 + If v1 < v2 return -1 + Otherwise, return 0 + +The version numbers are non-empty strings containing only digits, the dot +('.') and underscore ('_') characters. ('_' denotes an alpha/development +version, and has a lower precedence than a dot, '.'). Here are some examples: + + v1 v2 Result +------ ------ ------ + 0.1 < 1.1 -1 + 2.0 > 1.2 1 + 1.2 < 1.2_5 -1 +1.2.1 > 1.2_1 1 +1.2.1 = 1.2.1 0 + +Version numbers may also contain leading zeros. You may handle these +how you wish, as long as it's consistent. +" + +My notes: I hate it already:-) but it doesn't sound too hard. + + +Task 2: "Ordered Lineup + +Write a script to arrange people in a lineup according to how many +taller people are in front of each person in line. You are given two +arrays. @H is a list of unique heights, in any order. @T is a list of +how many taller people are to be put in front of the corresponding +person in @H. The output is the final ordering of people's heights, +or an error if there is no solution. + +Here is a small example: + + @H = (2, 6, 4, 5, 1, 3) # Heights + @T = (1, 0, 2, 0, 1, 2) # Number of taller people wanted in front + +The ordering of both arrays lines up, so H[i] and T[i] refer to the same +person. For example, there are 2 taller people in front of the person +with height 4, and there is 1 person in front of the person with height 1. + +here is one possible solution that satisfies @H and @T: + +(5, 1, 2, 6, 3, 4) + +Note that the leftmost element is the 'front' of the array.) +" + +My notes: an unfamiliar problem, sounds quite interesting. No algorithm +immediately comes to mind.. Generate-and-test was my first thought - i.e. +have a function to test "is-this-combination-a-valid-answer" and invoke it +for every possible answer. But the question also suggested that our +algorithm should be able to work at a scale of 1000 people, and the number +of combinations of 1000 people is insane (1000!). so scratch that. + +After trying a few examples manually, I realised that the first person in +the queue must be someone who wants 0 people taller than them in front of +them, and quickly generalised this into what I think it a valid and efficient +algorithm. See function "solve". + +However, it doesn't (yet) scale to the 64-person solution, much less the +1000-person one. I've tried some Perl profiling on an intermediate scale +problem, and managed to make it run 4 times faster, but it still can't +scale up to 64-person scale, would need a fundamentally faster algorithm, +which I just can't see. diff --git a/challenge-059/e-choroba/README b/challenge-059/e-choroba/README new file mode 100644 index 0000000000..efff637bcb --- /dev/null +++ b/challenge-059/e-choroba/README @@ -0,0 +1 @@ +Solutions by E. Choroba. diff --git a/challenge-059/eddy-hs/README b/challenge-059/eddy-hs/README new file mode 100644 index 0000000000..0ed51d222d --- /dev/null +++ b/challenge-059/eddy-hs/README @@ -0,0 +1 @@ +Solution by Eddy HS diff --git a/challenge-059/fabrizio-poggi/README b/challenge-059/fabrizio-poggi/README new file mode 100644 index 0000000000..3c17b29182 --- /dev/null +++ b/challenge-059/fabrizio-poggi/README @@ -0,0 +1 @@ +Solutions by Fabrizio Poggi. diff --git a/challenge-059/feng-chang/README b/challenge-059/feng-chang/README new file mode 100644 index 0000000000..74e56de3ed --- /dev/null +++ b/challenge-059/feng-chang/README @@ -0,0 +1 @@ +Solutions by Feng Chang. diff --git a/challenge-059/finley/README b/challenge-059/finley/README new file mode 100644 index 0000000000..f08a121076 --- /dev/null +++ b/challenge-059/finley/README @@ -0,0 +1 @@ +Solution by Finley diff --git a/challenge-059/fjwhittle/README b/challenge-059/fjwhittle/README new file mode 100644 index 0000000000..7dcc95e189 --- /dev/null +++ b/challenge-059/fjwhittle/README @@ -0,0 +1 @@ +Solution by Francis Whittle diff --git a/challenge-059/fred-zinn/README b/challenge-059/fred-zinn/README new file mode 100644 index 0000000000..17bac4f094 --- /dev/null +++ b/challenge-059/fred-zinn/README @@ -0,0 +1 @@ +Solution by Fred Zinn diff --git a/challenge-059/freddie-b/README b/challenge-059/freddie-b/README new file mode 100644 index 0000000000..823d7474b5 --- /dev/null +++ b/challenge-059/freddie-b/README @@ -0,0 +1 @@ +Solution by Freddie B diff --git a/challenge-059/giuseppe-terlizzi/README b/challenge-059/giuseppe-terlizzi/README new file mode 100644 index 0000000000..0bff2a945c --- /dev/null +++ b/challenge-059/giuseppe-terlizzi/README @@ -0,0 +1 @@ +Solutions by Giuseppe Di Terlizzi. diff --git a/challenge-059/guillermo-ramos/README b/challenge-059/guillermo-ramos/README new file mode 100644 index 0000000000..a39eb01bff --- /dev/null +++ b/challenge-059/guillermo-ramos/README @@ -0,0 +1 @@ +Solution by Guillermo Ramos. diff --git a/challenge-059/gustavo-chaves/README b/challenge-059/gustavo-chaves/README new file mode 100644 index 0000000000..a66bbbf8a3 --- /dev/null +++ b/challenge-059/gustavo-chaves/README @@ -0,0 +1 @@ +Solution by Gustavo Chaves diff --git a/challenge-059/hauke-d/README b/challenge-059/hauke-d/README new file mode 100644 index 0000000000..e201aa0abc --- /dev/null +++ b/challenge-059/hauke-d/README @@ -0,0 +1 @@ +Solutions by Hauke Dämpfling. diff --git a/challenge-059/ianrifkin/README b/challenge-059/ianrifkin/README new file mode 100644 index 0000000000..2d26297fb9 --- /dev/null +++ b/challenge-059/ianrifkin/README @@ -0,0 +1 @@ +Solution by Ian Rifkin. \ No newline at end of file diff --git a/challenge-059/izifresh/README b/challenge-059/izifresh/README new file mode 100644 index 0000000000..aedce7c408 --- /dev/null +++ b/challenge-059/izifresh/README @@ -0,0 +1 @@ +Solution by izifresh \ No newline at end of file diff --git a/challenge-059/jacques-guinnebault/README b/challenge-059/jacques-guinnebault/README new file mode 100644 index 0000000000..9d3e7c037f --- /dev/null +++ b/challenge-059/jacques-guinnebault/README @@ -0,0 +1 @@ +Solution by Jacques Guinnebault. diff --git a/challenge-059/jaime/README b/challenge-059/jaime/README new file mode 100644 index 0000000000..007cb58459 --- /dev/null +++ b/challenge-059/jaime/README @@ -0,0 +1,59 @@ +# Task #1 + +Write a script to display months from the year 1900 to 2019 where you +find 5 weekends i.e. 5 Friday, 5 Saturday and 5 Sunday. + +## Solution + +Months that contain five full weekends have 31 days and start on a Friday. Use `cal` to display March 2019 as an example. + +``` +#$ cal -h -m 3 2019 # cal is a UNIX utility + March 2019 +Su Mo Tu We Th Fr Sa + 1 2 + 3 4 5 6 7 8 9 +10 11 12 13 14 15 16 +17 18 19 20 21 22 23 +24 25 26 27 28 29 30 +31 +``` + +The solution runs `cal` and displays months that match this unique +layout. + +# Task #2 + +Write a script that can wrap the given paragraph at a specified column +using the greedy algorithm. + +A simple way to do word wrapping is to use a greedy algorithm that +puts as many words on a line as possible, then moving on to the next +line to do the same until there are no more words left to place. This +method is used by many modern word processors, such as OpenOffice.org +Writer and Microsoft Word[citation needed]. This algorithm always uses +the minimum possible number of lines but may lead to lines of widely +varying lengths. The following pseudocode implements this algorithm: + +``` +SpaceLeft := LineWidth +for each Word in Text + if (Width(Word) + SpaceWidth) > SpaceLeft + insert line break before Word in Text + SpaceLeft := LineWidth - Width(Word) + else + SpaceLeft := SpaceLeft - (Width(Word) + SpaceWidth) +``` + +Where LineWidth is the width of a line, SpaceLeft is the remaining +width of space on the line to fill, SpaceWidth is the width of a +single space character, Text is the input text to iterate over and +Word is a word in this text. + +## Solution + +The solution follows the recommended pseudocode. Minor improvements +avoid trailing whitespace. + +The script uses `Text::ParseWords::shellwords` from the standard +library to extract chunks of words from ``. diff --git a/challenge-059/jaldhar-h-vyas/README b/challenge-059/jaldhar-h-vyas/README new file mode 100644 index 0000000000..7dce927eca --- /dev/null +++ b/challenge-059/jaldhar-h-vyas/README @@ -0,0 +1 @@ +Solution by Jaldhar H. Vyas diff --git a/challenge-059/james-smith/README.md b/challenge-059/james-smith/README.md new file mode 100644 index 0000000000..6d816375c5 --- /dev/null +++ b/challenge-059/james-smith/README.md @@ -0,0 +1,129 @@ +Solutions by James Smith. + +# Challenge 1 - Counting letters + +There are two ways to solve this -> split and count or using tr... one is short code - one is longer - but much faster. + +## Version 1 - short code + +Uses lc, split and grep to count the elements and put them in a hash... looping through each file a line at a time with <> + +```perl +use feature 'say'; +use strict; +my %T = map { $_=>0 } foreach 'a'..'z'; +while(<>) { + $T{$_}++ foreach grep { /[a-z]/ } split m{}, lc $_; +} + +say "$_: $T{$_}" foreach 'a'..'z'; +``` + +Running this over 13Mbytes of PHP takes approximately 6.5 seconds... + +## Version 2 - faster code + +Now counting letters in a string is quickest using the tr or y operator - as this requires the number of characters +changed. Without using eval you can't unfortunately sub in a variable into the pattern unlike with m/s... So we +either need to use string eval (which is evIl) or manually replicate the loop - $T{'a'} =~ y/aA/aA/ etc - in this +code... Note we set $/ to undef so that we slurp the whole file in in one go (to improve performance of using tr) +and less modifications to the %T hash... + +```perl +use feature 'say'; +$/=undef; + +while(<>) { + $T{'a'} += y/aA/aA/; + $T{'b'} += y/bB/bB/; +.. +.. + $T{'y'} += y/yY/yY/; + $T{'z'} += y/zZ/zZ/; +} + +say $_,': ',$T{$_}||0 foreach 'a'..'z'; + +``` +OK - so didn't want to type 26 lines so used this one liner to do it for me! + +```bash +perl -E 'say " \$t{'"'"'$_'"'"'} += y/$_".uc($_)."/$_".uc($_)."/;" foreach "a".."z";' +``` + +This now runs in approxy 0.25 seconds a big improvement... + +## Version 3 - nicer output... + +The version 3 code just expands the version 2 code - but creates a "histogram" to show the distribution (and at the same time formats the totals better) + +``` +a : 584193 : ########################## +b : 108267 : #### +c : 287124 : ############# +d : 272798 : ############ +e : 877936 : ######################################## +f : 209371 : ######### +g : 152944 : ###### +h : 200641 : ######### +i : 546465 : ######################## +j : 15133 : +k : 50049 : ## +l : 326976 : ############## +m : 214631 : ######### +n : 438874 : ################### +o : 436059 : ################### +p : 282120 : ############ +q : 19825 : +r : 551144 : ######################### +s : 552344 : ######################### +t : 724711 : ################################# +u : 260233 : ########### +v : 68882 : ### +w : 80759 : ### +x : 57019 : ## +y : 115201 : ##### +z : 11021 : +``` + +# Challenge 2 - multiplication square... + +Again going to extend the challenge to make this generic (in case someone wants a different version) + +Hidden in the solution above was getting the number of digits for a number (so we can format the totals) - we do this again to get the size of the left hand column and the main table columns. + +```perl +my $sl = int(log($N)/log(10)+1); ## Get size of integer $N - defines the width of the LH column +my $sr = int(2*log($N)/log(10)+1); ## Get size of $N squared - defines the width of other columns +``` +and we use this to tweak the formats and the padding/line drawing elements! +```perl +#!/usr/bin/perl + +use strict; +use feature 'say'; + +## This solves more than the puzzle - but thought I would make it more generic! + +## This gets the size of the square that we want to display... + +my $N = shift =~ s{\D}{}gr || 11; ## Default to 11 - but use first parameter as size of square! +my @R = 1..$N; ## Create a "range array" - we use this 4 times!!! + +## Get width of columns for use in the renderer.. + +my $sl = int( log($N) / log(10) + 1); ## Get size of integer $N - defines the width of the LH column +my $sr = int( 2 * log($N) / log(10) + 1); ## Get size of $N squared - defines the width of other columns +my $fl = sprintf ' %%%dd |', $sl; ## Create a template for the first column.. +my $fr = sprintf ' %%%dd', $sr; ## .... and for the other columns! + +## Finally we render - make a use of sprintf with the templates and '$' x $ to generate padding + +say ' ' x $sl, 'x |', ## Header (LH side) + map { sprintf $fr, $_ } @R; ## (column headers) +say join '-', '-' x $sl, '-+', ## Separator (LH side) + map { '-' x $sr } @R; ## (RH side) +say sprintf( $fl, $a=$_ ), ## Body of table (LH headers) + map { $a>$_ ? ' ' x ($sr+1) : sprintf $fr, $a*$_ } @R ## (content of row) + foreach @R; +``` diff --git a/challenge-059/jaredor/README b/challenge-059/jaredor/README new file mode 100644 index 0000000000..398fcc9bae --- /dev/null +++ b/challenge-059/jaredor/README @@ -0,0 +1 @@ +Solution by Jared Martin diff --git a/challenge-059/javier-luque/README b/challenge-059/javier-luque/README new file mode 100644 index 0000000000..887e7fc81a --- /dev/null +++ b/challenge-059/javier-luque/README @@ -0,0 +1 @@ +Solutions by Javier Luque. diff --git a/challenge-059/jeff/README b/challenge-059/jeff/README new file mode 100644 index 0000000000..d5f15f4a8e --- /dev/null +++ b/challenge-059/jeff/README @@ -0,0 +1 @@ +Solution by Jeff diff --git a/challenge-059/jeremy-carman/README b/challenge-059/jeremy-carman/README new file mode 100644 index 0000000000..3d08510e49 --- /dev/null +++ b/challenge-059/jeremy-carman/README @@ -0,0 +1 @@ +Solution by Jeremy Carman diff --git a/challenge-059/jim-bacon/README b/challenge-059/jim-bacon/README new file mode 100644 index 0000000000..8dcfd637a3 --- /dev/null +++ b/challenge-059/jim-bacon/README @@ -0,0 +1 @@ +Solution by Jim Bacon diff --git a/challenge-059/jitu-keshwani/README b/challenge-059/jitu-keshwani/README new file mode 100644 index 0000000000..4f02c1e3ce --- /dev/null +++ b/challenge-059/jitu-keshwani/README @@ -0,0 +1 @@ +Solutions by Jitu Keshwani. diff --git a/challenge-059/jj-merelo/README b/challenge-059/jj-merelo/README new file mode 100644 index 0000000000..d09838676b --- /dev/null +++ b/challenge-059/jj-merelo/README @@ -0,0 +1 @@ +Solution by JJ Merelo diff --git a/challenge-059/jo-37/README b/challenge-059/jo-37/README new file mode 100644 index 0000000000..b124ddbd7c --- /dev/null +++ b/challenge-059/jo-37/README @@ -0,0 +1 @@ +Solution by Jo S. diff --git a/challenge-059/jo-christian-oterhals/README b/challenge-059/jo-christian-oterhals/README new file mode 100644 index 0000000000..eafff999fb --- /dev/null +++ b/challenge-059/jo-christian-oterhals/README @@ -0,0 +1 @@ +Solution by Jo Christian Oterhals diff --git a/challenge-059/joe-tym/README b/challenge-059/joe-tym/README new file mode 100644 index 0000000000..4e2d1b704f --- /dev/null +++ b/challenge-059/joe-tym/README @@ -0,0 +1 @@ +Solutions by Joe Tym. diff --git a/challenge-059/joelle-maslak/README b/challenge-059/joelle-maslak/README new file mode 100644 index 0000000000..d12c7940c3 --- /dev/null +++ b/challenge-059/joelle-maslak/README @@ -0,0 +1 @@ +Solution by Joelle Maslak diff --git a/challenge-059/john-barrett/README b/challenge-059/john-barrett/README new file mode 100644 index 0000000000..a7ff0af641 --- /dev/null +++ b/challenge-059/john-barrett/README @@ -0,0 +1 @@ +Solution by John Barrett diff --git a/challenge-059/jokraft/README b/challenge-059/jokraft/README new file mode 100644 index 0000000000..bfd88142ca --- /dev/null +++ b/challenge-059/jokraft/README @@ -0,0 +1 @@ +Solution by Jan Ole Kraft. diff --git a/challenge-059/juan-caballero/README b/challenge-059/juan-caballero/README new file mode 100644 index 0000000000..bffe4b05c2 --- /dev/null +++ b/challenge-059/juan-caballero/README @@ -0,0 +1 @@ +Solution by Juan Caballero diff --git a/challenge-059/julien-fiegehenn/README b/challenge-059/julien-fiegehenn/README new file mode 100644 index 0000000000..86b1a001d7 --- /dev/null +++ b/challenge-059/julien-fiegehenn/README @@ -0,0 +1 @@ +Solutions by Julien Fiegehenn. diff --git a/challenge-059/kevin-colyer/README b/challenge-059/kevin-colyer/README new file mode 100644 index 0000000000..0e95de6a44 --- /dev/null +++ b/challenge-059/kevin-colyer/README @@ -0,0 +1,3 @@ +Solutions by Kevin Colyer. + +I think there is some odd bug - my initial tries at rotating the matrix affected the original matrix even when I DIDN'T specify is rw in the sub. diff --git a/challenge-059/khalid/README b/challenge-059/khalid/README new file mode 100644 index 0000000000..1ca4211368 --- /dev/null +++ b/challenge-059/khalid/README @@ -0,0 +1 @@ +Solution by Khalid diff --git a/challenge-059/kian-meng-ang/README b/challenge-059/kian-meng-ang/README new file mode 100644 index 0000000000..a5f0359813 --- /dev/null +++ b/challenge-059/kian-meng-ang/README @@ -0,0 +1 @@ +Solution by Kian-Meng Ang diff --git a/challenge-059/kiran-kumar/README b/challenge-059/kiran-kumar/README new file mode 100644 index 0000000000..7e59be8ea8 --- /dev/null +++ b/challenge-059/kiran-kumar/README @@ -0,0 +1 @@ +Solutions by Kiran Kumar. diff --git a/challenge-059/kivanc-yazan/.gitignore b/challenge-059/kivanc-yazan/.gitignore new file mode 100644 index 0000000000..8ce1b629e0 --- /dev/null +++ b/challenge-059/kivanc-yazan/.gitignore @@ -0,0 +1,2 @@ +_Inline/ +*.sw* diff --git a/challenge-059/kivanc-yazan/README b/challenge-059/kivanc-yazan/README new file mode 100644 index 0000000000..bc7f8ca509 --- /dev/null +++ b/challenge-059/kivanc-yazan/README @@ -0,0 +1 @@ +Solution by Kivanc Yazan diff --git a/challenge-059/lars-balker/README b/challenge-059/lars-balker/README new file mode 100644 index 0000000000..054649c9eb --- /dev/null +++ b/challenge-059/lars-balker/README @@ -0,0 +1 @@ +Solution by Lars Balker diff --git a/challenge-059/lars-thegler/README b/challenge-059/lars-thegler/README new file mode 100644 index 0000000000..db6756665d --- /dev/null +++ b/challenge-059/lars-thegler/README @@ -0,0 +1 @@ +Solution by Lars Thegler diff --git a/challenge-059/laurent-rosenfeld/README b/challenge-059/laurent-rosenfeld/README new file mode 100644 index 0000000000..f9c6e1437e --- /dev/null +++ b/challenge-059/laurent-rosenfeld/README @@ -0,0 +1 @@ +Solution by Laurent Rosenfeld diff --git a/challenge-059/leoltron/README b/challenge-059/leoltron/README new file mode 100644 index 0000000000..28aeaf66ae --- /dev/null +++ b/challenge-059/leoltron/README @@ -0,0 +1 @@ +Solution by Leoltron diff --git a/challenge-059/lubos-kolouch/README b/challenge-059/lubos-kolouch/README new file mode 100644 index 0000000000..921b2d9f4a --- /dev/null +++ b/challenge-059/lubos-kolouch/README @@ -0,0 +1 @@ +Solutions by Lubos Kolouch. diff --git a/challenge-059/luca-ferrari/README b/challenge-059/luca-ferrari/README new file mode 100644 index 0000000000..36518848d1 --- /dev/null +++ b/challenge-059/luca-ferrari/README @@ -0,0 +1 @@ +Solutions by Luca Ferrari. diff --git a/challenge-059/magnus-woldrich/README b/challenge-059/magnus-woldrich/README new file mode 100644 index 0000000000..79cde2997c --- /dev/null +++ b/challenge-059/magnus-woldrich/README @@ -0,0 +1 @@ +Solution by Magnus Woldrich diff --git a/challenge-059/manfredi/README b/challenge-059/manfredi/README new file mode 100644 index 0000000000..dfb0471044 --- /dev/null +++ b/challenge-059/manfredi/README @@ -0,0 +1 @@ +Solution by Leo Manfredi diff --git a/challenge-059/mano-chandar/README b/challenge-059/mano-chandar/README new file mode 100644 index 0000000000..2ec028460a --- /dev/null +++ b/challenge-059/mano-chandar/README @@ -0,0 +1 @@ +Solutions by Mano Chandar. diff --git a/challenge-059/mark-anderson/README b/challenge-059/mark-anderson/README new file mode 100644 index 0000000000..544858a104 --- /dev/null +++ b/challenge-059/mark-anderson/README @@ -0,0 +1 @@ +Solutions by Mark Anderson. diff --git a/challenge-059/mark-senn/README b/challenge-059/mark-senn/README new file mode 100644 index 0000000000..f37c93431c --- /dev/null +++ b/challenge-059/mark-senn/README @@ -0,0 +1 @@ +Solution by Mark Senn diff --git a/challenge-059/markus-holzer/README b/challenge-059/markus-holzer/README new file mode 100644 index 0000000000..d01b41eafd --- /dev/null +++ b/challenge-059/markus-holzer/README @@ -0,0 +1 @@ +Solutions by Markus Holzer. \ No newline at end of file diff --git a/challenge-059/martin-barth/README b/challenge-059/martin-barth/README new file mode 100644 index 0000000000..13c469f3c3 --- /dev/null +++ b/challenge-059/martin-barth/README @@ -0,0 +1 @@ +Solutions by Martin Barth. diff --git a/challenge-059/martin-mugeni/README b/challenge-059/martin-mugeni/README new file mode 100644 index 0000000000..416ca98166 --- /dev/null +++ b/challenge-059/martin-mugeni/README @@ -0,0 +1 @@ +Solution by Martin Mugeni diff --git a/challenge-059/matt-latusek/README b/challenge-059/matt-latusek/README new file mode 100644 index 0000000000..e1dc8b6e16 --- /dev/null +++ b/challenge-059/matt-latusek/README @@ -0,0 +1 @@ +Solution by Matt Latusek. diff --git a/challenge-059/matthew-persico/README b/challenge-059/matthew-persico/README new file mode 100644 index 0000000000..5aa5622296 --- /dev/null +++ b/challenge-059/matthew-persico/README @@ -0,0 +1 @@ +Solutions by Matthew O. Persico. diff --git a/challenge-059/maxim-kolodyazhny/README b/challenge-059/maxim-kolodyazhny/README new file mode 100644 index 0000000000..e5b4df7154 --- /dev/null +++ b/challenge-059/maxim-kolodyazhny/README @@ -0,0 +1 @@ +Solution by Maxim Kolodyazhny diff --git a/challenge-059/maxim-nechaev/README b/challenge-059/maxim-nechaev/README new file mode 100644 index 0000000000..0695cbfa4d --- /dev/null +++ b/challenge-059/maxim-nechaev/README @@ -0,0 +1 @@ +Solutions by Maxim Nechaev. diff --git a/challenge-059/michael-hamlin/README b/challenge-059/michael-hamlin/README new file mode 100644 index 0000000000..3c1a735306 --- /dev/null +++ b/challenge-059/michael-hamlin/README @@ -0,0 +1,5 @@ +Solutions by Michael Hamlin. + +ch-1.pl the Ackermann function grows so rapidly that I dont think I can +test the real hyperness of my code, even with GMP. + diff --git a/challenge-059/michael-schaap/README b/challenge-059/michael-schaap/README new file mode 100644 index 0000000000..db803c5d87 --- /dev/null +++ b/challenge-059/michael-schaap/README @@ -0,0 +1 @@ +Solution by Michael Schaap diff --git a/challenge-059/mike-accardo/README b/challenge-059/mike-accardo/README new file mode 100644 index 0000000000..33606072ab --- /dev/null +++ b/challenge-059/mike-accardo/README @@ -0,0 +1 @@ +Solutions by Mike Accardo. diff --git a/challenge-059/mohammad-anwar/README b/challenge-059/mohammad-anwar/README new file mode 100644 index 0000000000..d389e70c3b --- /dev/null +++ b/challenge-059/mohammad-anwar/README @@ -0,0 +1 @@ +Solutions by Mohammad S Anwar. diff --git a/challenge-059/ndelucca/README b/challenge-059/ndelucca/README new file mode 100644 index 0000000000..8285f30f94 --- /dev/null +++ b/challenge-059/ndelucca/README @@ -0,0 +1 @@ +Solutions by ndelucca. diff --git a/challenge-059/neil-bowers/README b/challenge-059/neil-bowers/README new file mode 100644 index 0000000000..9d446303df --- /dev/null +++ b/challenge-059/neil-bowers/README @@ -0,0 +1 @@ +Solution by Neil Bowers diff --git a/challenge-059/nick-logan/README b/challenge-059/nick-logan/README new file mode 100644 index 0000000000..86919ac8b8 --- /dev/null +++ b/challenge-059/nick-logan/README @@ -0,0 +1 @@ +Solution by Nick Logan diff --git a/challenge-059/nikhil-prasanna/README b/challenge-059/nikhil-prasanna/README new file mode 100644 index 0000000000..7c28d1a844 --- /dev/null +++ b/challenge-059/nikhil-prasanna/README @@ -0,0 +1 @@ +Solution by Nikhil Prasanna. diff --git a/challenge-059/noud/README b/challenge-059/noud/README new file mode 100644 index 0000000000..0b0970d708 --- /dev/null +++ b/challenge-059/noud/README @@ -0,0 +1 @@ +Solution by Noud diff --git a/challenge-059/ohmycloud/README b/challenge-059/ohmycloud/README new file mode 100644 index 0000000000..e993fafea7 --- /dev/null +++ b/challenge-059/ohmycloud/README @@ -0,0 +1 @@ +Solution by Ohmycloud diff --git a/challenge-059/oleksii-tsvietnov/README b/challenge-059/oleksii-tsvietnov/README new file mode 100644 index 0000000000..113183cc6d --- /dev/null +++ b/challenge-059/oleksii-tsvietnov/README @@ -0,0 +1 @@ +Solution by Oleksii Tsvietnov diff --git a/challenge-059/olli-antti/README b/challenge-059/olli-antti/README new file mode 100644 index 0000000000..d42520108e --- /dev/null +++ b/challenge-059/olli-antti/README @@ -0,0 +1 @@ +Solutions by Olli-Antti Kivilahti. diff --git a/challenge-059/orestis-zekai/README b/challenge-059/orestis-zekai/README new file mode 100644 index 0000000000..7e89e9dd0f --- /dev/null +++ b/challenge-059/orestis-zekai/README @@ -0,0 +1 @@ +Solutions by Orestis Zekai. diff --git a/challenge-059/ozzy/README b/challenge-059/ozzy/README new file mode 100644 index 0000000000..44e39371ef --- /dev/null +++ b/challenge-059/ozzy/README @@ -0,0 +1 @@ +Solution by Ozzy diff --git a/challenge-059/pavel-jurca/README b/challenge-059/pavel-jurca/README new file mode 100644 index 0000000000..78d131bd34 --- /dev/null +++ b/challenge-059/pavel-jurca/README @@ -0,0 +1 @@ +Solution by Pavel Jurca diff --git a/challenge-059/pavel-starikov/README b/challenge-059/pavel-starikov/README new file mode 100644 index 0000000000..67ed468ff0 --- /dev/null +++ b/challenge-059/pavel-starikov/README @@ -0,0 +1 @@ +Solutions by Pavel Starikov. diff --git a/challenge-059/pete-houston/README b/challenge-059/pete-houston/README new file mode 100644 index 0000000000..15d44fe3a4 --- /dev/null +++ b/challenge-059/pete-houston/README @@ -0,0 +1 @@ +Solution by Pete Houston diff --git a/challenge-059/pete-sergeant/README b/challenge-059/pete-sergeant/README new file mode 100644 index 0000000000..baf8dfe304 --- /dev/null +++ b/challenge-059/pete-sergeant/README @@ -0,0 +1 @@ +Solutions by Pete Sergeant. diff --git a/challenge-059/peter-meszaros/README b/challenge-059/peter-meszaros/README new file mode 100644 index 0000000000..f1e626ba12 --- /dev/null +++ b/challenge-059/peter-meszaros/README @@ -0,0 +1 @@ +Solutions by Peter Meszaros. diff --git a/challenge-059/peter-scott/README b/challenge-059/peter-scott/README new file mode 100644 index 0000000000..6b54fbe7a7 --- /dev/null +++ b/challenge-059/peter-scott/README @@ -0,0 +1 @@ +Solutions by Peter Scott. diff --git a/challenge-059/petr-roubicek/README b/challenge-059/petr-roubicek/README new file mode 100644 index 0000000000..c846fe0f55 --- /dev/null +++ b/challenge-059/petr-roubicek/README @@ -0,0 +1 @@ +Solutions by Petr Roubicek. diff --git a/challenge-059/philippe-bruhat/README b/challenge-059/philippe-bruhat/README new file mode 100644 index 0000000000..0bf3aeed05 --- /dev/null +++ b/challenge-059/philippe-bruhat/README @@ -0,0 +1 @@ +Solution by Philippe Bruhat diff --git a/challenge-059/phillip-harris/README b/challenge-059/phillip-harris/README new file mode 100644 index 0000000000..3636cf47d8 --- /dev/null +++ b/challenge-059/phillip-harris/README @@ -0,0 +1 @@ +Solution by Phillip Harris. diff --git a/challenge-059/prajith-p/README b/challenge-059/prajith-p/README new file mode 100644 index 0000000000..20517308f8 --- /dev/null +++ b/challenge-059/prajith-p/README @@ -0,0 +1 @@ +Solution by Prajith P diff --git a/challenge-059/rage311/README b/challenge-059/rage311/README new file mode 100644 index 0000000000..8277c95e21 --- /dev/null +++ b/challenge-059/rage311/README @@ -0,0 +1 @@ +Solution by rage311 diff --git a/challenge-059/randy-lauen/README b/challenge-059/randy-lauen/README new file mode 100644 index 0000000000..17fac69a1c --- /dev/null +++ b/challenge-059/randy-lauen/README @@ -0,0 +1 @@ +Solution by Randy Lauen diff --git a/challenge-059/richard-park/README b/challenge-059/richard-park/README new file mode 100644 index 0000000000..f9814e8239 --- /dev/null +++ b/challenge-059/richard-park/README @@ -0,0 +1 @@ +Solutions by Richard Park. diff --git a/challenge-059/rnuttall/README b/challenge-059/rnuttall/README new file mode 100644 index 0000000000..c6358313dc --- /dev/null +++ b/challenge-059/rnuttall/README @@ -0,0 +1 @@ +Solution by Richard Nuttall \ No newline at end of file diff --git a/challenge-059/rob-van-dam/README b/challenge-059/rob-van-dam/README new file mode 100644 index 0000000000..d0e17767f8 --- /dev/null +++ b/challenge-059/rob-van-dam/README @@ -0,0 +1 @@ +Solution by Rob Van Dam diff --git a/challenge-059/rob4t/README b/challenge-059/rob4t/README new file mode 100644 index 0000000000..787d89fa0a --- /dev/null +++ b/challenge-059/rob4t/README @@ -0,0 +1 @@ +Solution by Robert Gratza diff --git a/challenge-059/roger-bell-west/README b/challenge-059/roger-bell-west/README new file mode 100644 index 0000000000..245784dce5 --- /dev/null +++ b/challenge-059/roger-bell-west/README @@ -0,0 +1 @@ +Solutions by Roger Bell West. diff --git a/challenge-059/ruben-westerberg/README b/challenge-059/ruben-westerberg/README new file mode 100644 index 0000000000..f5785b52b9 --- /dev/null +++ b/challenge-059/ruben-westerberg/README @@ -0,0 +1,9 @@ +Solution by Ruben Westerberg + +ch-1.pl and ch-1.raku +=================== +Inverts a a binary tree. No pretty print though.... :( + +ch-2.pl and ch-2.raku +=================== +Finds the shortest unique prefix from a list of words diff --git a/challenge-059/ryan-thompson/README.md b/challenge-059/ryan-thompson/README.md new file mode 100644 index 0000000000..698e3ee64f --- /dev/null +++ b/challenge-059/ryan-thompson/README.md @@ -0,0 +1,19 @@ +# Ryan Thompson + +## Week 056 Solutions + +### Task 1 › Diff-K + + * [Perl](perl/ch-1.pl) + * [Raku](raku/ch-1.p6) + +### Task 2 › Path Sum + + * [Perl](perl/ch-2.pl) + * [Raku](raku/ch-2.p6) + +## Blogs + + * [Diff-K](https://ry.ca/2020/04/diff-k/) + * [Path Sum](https://ry.ca/2020/04/path-sum/) + diff --git a/challenge-059/saiftynet/README b/challenge-059/saiftynet/README new file mode 100644 index 0000000000..0e8a992778 --- /dev/null +++ b/challenge-059/saiftynet/README @@ -0,0 +1 @@ +Solution by saiftynet diff --git a/challenge-059/sean-meininger/README b/challenge-059/sean-meininger/README new file mode 100644 index 0000000000..8ca81e00a0 --- /dev/null +++ b/challenge-059/sean-meininger/README @@ -0,0 +1 @@ +Solution by Sean Meininger diff --git a/challenge-059/sergiotarxz/README b/challenge-059/sergiotarxz/README new file mode 100644 index 0000000000..6aac3baa4f --- /dev/null +++ b/challenge-059/sergiotarxz/README @@ -0,0 +1 @@ +Solution by Sergio Iglesias. diff --git a/challenge-059/shahed-nooshmand/README b/challenge-059/shahed-nooshmand/README new file mode 100644 index 0000000000..d6ba6d0222 --- /dev/null +++ b/challenge-059/shahed-nooshmand/README @@ -0,0 +1 @@ +Solutions by Shahed Nooshmand. diff --git a/challenge-059/shardiwal/README b/challenge-059/shardiwal/README new file mode 100644 index 0000000000..c529c63c01 --- /dev/null +++ b/challenge-059/shardiwal/README @@ -0,0 +1 @@ +Solution by Rakesh Kumar Shardiwal diff --git a/challenge-059/shaun-pearce/README b/challenge-059/shaun-pearce/README new file mode 100644 index 0000000000..9b251e6c06 --- /dev/null +++ b/challenge-059/shaun-pearce/README @@ -0,0 +1 @@ +Solutions by Shaun Pearce. diff --git a/challenge-059/simon-miner/README b/challenge-059/simon-miner/README new file mode 100644 index 0000000000..cc433eaa54 --- /dev/null +++ b/challenge-059/simon-miner/README @@ -0,0 +1 @@ +Solutions by Simon Miner. diff --git a/challenge-059/simon-proctor/README b/challenge-059/simon-proctor/README new file mode 100644 index 0000000000..f674742166 --- /dev/null +++ b/challenge-059/simon-proctor/README @@ -0,0 +1 @@ +Solution by Simon Proctor diff --git a/challenge-059/simon-reinhardt/README b/challenge-059/simon-reinhardt/README new file mode 100644 index 0000000000..422afa13b4 --- /dev/null +++ b/challenge-059/simon-reinhardt/README @@ -0,0 +1 @@ +Solution by Simon Reinhardt diff --git a/challenge-059/sol-demuth/README b/challenge-059/sol-demuth/README new file mode 100644 index 0000000000..c1899409dc --- /dev/null +++ b/challenge-059/sol-demuth/README @@ -0,0 +1 @@ +Solutions by Sol DeMuth. diff --git a/challenge-059/southpawgeek/README b/challenge-059/southpawgeek/README new file mode 100644 index 0000000000..34dbca2721 --- /dev/null +++ b/challenge-059/southpawgeek/README @@ -0,0 +1 @@ +Solution by southpawgeek \ No newline at end of file diff --git a/challenge-059/steve-rogerson/README b/challenge-059/steve-rogerson/README new file mode 100644 index 0000000000..bd91edaf63 --- /dev/null +++ b/challenge-059/steve-rogerson/README @@ -0,0 +1 @@ +Solution by Steve Rogerson diff --git a/challenge-059/steven-lembark/README b/challenge-059/steven-lembark/README new file mode 100644 index 0000000000..74894afa94 --- /dev/null +++ b/challenge-059/steven-lembark/README @@ -0,0 +1 @@ +Solution by Steven Lembark diff --git a/challenge-059/steven-wilson/README b/challenge-059/steven-wilson/README new file mode 100644 index 0000000000..6911e56168 --- /dev/null +++ b/challenge-059/steven-wilson/README @@ -0,0 +1 @@ +Solution by Steven Wilson diff --git a/challenge-059/svetlana-nesterova/README b/challenge-059/svetlana-nesterova/README new file mode 100644 index 0000000000..d652fca3e7 --- /dev/null +++ b/challenge-059/svetlana-nesterova/README @@ -0,0 +1 @@ +Solution by Svetlana Nesterova \ No newline at end of file diff --git a/challenge-059/testerR59/README b/challenge-059/testerR59/README new file mode 100644 index 0000000000..805ac61d1d --- /dev/null +++ b/challenge-059/testerR59/README @@ -0,0 +1 @@ +Solution by testerR59 diff --git a/challenge-059/tiago-stock/README b/challenge-059/tiago-stock/README new file mode 100644 index 0000000000..096a081b30 --- /dev/null +++ b/challenge-059/tiago-stock/README @@ -0,0 +1 @@ +Solution by Tiago Stock diff --git a/challenge-059/tim-smith/README b/challenge-059/tim-smith/README new file mode 100644 index 0000000000..83596de4fd --- /dev/null +++ b/challenge-059/tim-smith/README @@ -0,0 +1 @@ +Solution by Tim Smith diff --git a/challenge-059/tore-andersson/README b/challenge-059/tore-andersson/README new file mode 100644 index 0000000000..6b1b021ce0 --- /dev/null +++ b/challenge-059/tore-andersson/README @@ -0,0 +1 @@ +Solution by Tore Andersson diff --git a/challenge-059/trenton-langer/README b/challenge-059/trenton-langer/README new file mode 100644 index 0000000000..0cb7fb7487 --- /dev/null +++ b/challenge-059/trenton-langer/README @@ -0,0 +1 @@ +Solutions by Trenton Langer. diff --git a/challenge-059/tyler-limkemann/README b/challenge-059/tyler-limkemann/README new file mode 100644 index 0000000000..c03a7a0168 --- /dev/null +++ b/challenge-059/tyler-limkemann/README @@ -0,0 +1 @@ +Solutions by Tyler Limkemann. diff --git a/challenge-059/ulrich-rieke/README b/challenge-059/ulrich-rieke/README new file mode 100644 index 0000000000..8024a00a62 --- /dev/null +++ b/challenge-059/ulrich-rieke/README @@ -0,0 +1 @@ +Solutions by Ulrich Rieke. diff --git a/challenge-059/user-person/README b/challenge-059/user-person/README new file mode 100644 index 0000000000..75ac375d49 --- /dev/null +++ b/challenge-059/user-person/README @@ -0,0 +1 @@ +solutions by User Person diff --git a/challenge-059/uzluisf/README b/challenge-059/uzluisf/README new file mode 100644 index 0000000000..c668a77e15 --- /dev/null +++ b/challenge-059/uzluisf/README @@ -0,0 +1 @@ +Solution by Luis F. Uceta. diff --git a/challenge-059/veesh-goldman/README b/challenge-059/veesh-goldman/README new file mode 100644 index 0000000000..28a85f6e5c --- /dev/null +++ b/challenge-059/veesh-goldman/README @@ -0,0 +1 @@ +Solution by Veesh Goldman diff --git a/challenge-059/vyacheslav-volgarev/README b/challenge-059/vyacheslav-volgarev/README new file mode 100644 index 0000000000..392f9753cf --- /dev/null +++ b/challenge-059/vyacheslav-volgarev/README @@ -0,0 +1 @@ +Solutions by Vyacheslav Volgarev. diff --git a/challenge-059/walt-mankowski/README b/challenge-059/walt-mankowski/README new file mode 100644 index 0000000000..cf907b02dd --- /dev/null +++ b/challenge-059/walt-mankowski/README @@ -0,0 +1 @@ +Solutions by Walt Mankowski. diff --git a/challenge-059/wanderdoc/README b/challenge-059/wanderdoc/README new file mode 100644 index 0000000000..3a326bf66c --- /dev/null +++ b/challenge-059/wanderdoc/README @@ -0,0 +1 @@ +Solution by wanderdoc. \ No newline at end of file diff --git a/challenge-059/william-gilmore/README b/challenge-059/william-gilmore/README new file mode 100644 index 0000000000..e3df40ca2a --- /dev/null +++ b/challenge-059/william-gilmore/README @@ -0,0 +1 @@ +Solution by William Gilmore diff --git a/challenge-059/xkr47/README b/challenge-059/xkr47/README new file mode 100644 index 0000000000..47ff27a9d5 --- /dev/null +++ b/challenge-059/xkr47/README @@ -0,0 +1 @@ +Solution by Jonas Berlin. diff --git a/challenge-059/yary-h/README b/challenge-059/yary-h/README new file mode 100644 index 0000000000..200fbce413 --- /dev/null +++ b/challenge-059/yary-h/README @@ -0,0 +1 @@ +Solution by Yary H diff --git a/challenge-059/yet-ebreo/README b/challenge-059/yet-ebreo/README new file mode 100644 index 0000000000..c44a8ce2be --- /dev/null +++ b/challenge-059/yet-ebreo/README @@ -0,0 +1 @@ +Solution by Yet Ebreo diff --git a/challenge-059/yozen-hernandez/README b/challenge-059/yozen-hernandez/README new file mode 100644 index 0000000000..07779f04ee --- /dev/null +++ b/challenge-059/yozen-hernandez/README @@ -0,0 +1 @@ +Solutions by Yozen Hernandez. -- cgit