diff options
Diffstat (limited to 'challenge-002/abigail/README.md')
| -rw-r--r-- | challenge-002/abigail/README.md | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/challenge-002/abigail/README.md b/challenge-002/abigail/README.md new file mode 100644 index 0000000000..bb5cb18c8f --- /dev/null +++ b/challenge-002/abigail/README.md @@ -0,0 +1,45 @@ +# Solutions by Abigail + +## [Challenge #1](https://perlweeklychallenge.org/blog/perl-weekly-challenge-002/#challenge-1) + +Write a script or one-liner to remove leading zeros from positive numbers. + +### Notes +We will be reading numbers from STDIN, and writing the results to STDOUT, +one number per line. + +We cannot have a number with just 0's, as that would not be a positive number. + +### Solutions +* [AWK](awk/ch-1.awk) +* [Bash](bash/ch-1.sh) +* [bc](bc/ch-1.bc) +* [Befunge-93](befunge-93/ch-1.bf93) +* [C](c/ch-1.c) +* [Lua](lua/ch-1.lua) +* [Node.js](node/ch-1.js) +* [Perl](perl/ch-1.pl) +* [Python](python/ch-1.py) +* [Ruby](ruby/ch-1.rb) + +## [Challenge #2](https://perlweeklychallenge.org/blog/perl-weekly-challenge-002/#challenge-2) + +Write a script that can convert integers to and from a base35 +representation, using the characters 0-9 and A-Y. Dave Jacoby came +up with nice description about +[base35](https://gist.github.com/jacoby/764bb4e8a5d3a819b5fbfa497fcb3454), +in case you needed some background. + +### Note +We will be reading numbers from STDIN, and writing the results to STDOUT, +one number per line. Programs will use an option, -t (to base 35), or +-f (from base 35) to indicate which direction to go. + +### Solutions +* [AWK](awk/ch-2.awk) +* [C](c/ch-2.c) +* [Lua](lua/ch-2.lua) +* [Node](node/ch-2.js) +* [Perl](perl/ch-2.pl) +* [Python](python/ch-2.py) +* [Ruby](ruby/ch-2.by) |
