summary refs log tree commit diff stats
Commit message (Collapse)AuthorAgeFilesLines
* Mark Leap as CompletedAndinus2021-09-081-2/+2
|
* Raku: Luhn: Improve solutionAndinus2021-09-081-8/+17
| | | | | | - Use regex parameter in `.comb' and skip `.grep'. - Use a sub subtract-if-greater to reduce noise in ternary operation. - Remove trailing `;' if implicitly returning a value.
* Record exercises in READMEAndinus2021-09-071-0/+85
|
* Rust: Add Armstrong NumbersAndinus2021-09-076-0/+198
|
* Rust: Lucian's Luscious Lasagna: Use implicit returnAndinus2021-09-071-7/+4
|
* Rust: Add Hello World & Lucian's Luscious LasagnaAndinus2021-09-0714-0/+585
|
* JS: Triangle: Add solutionAndinus2021-09-069-0/+351
|
* Clojure: Raindrops: Improve solutionAndinus2021-09-061-12/+8
| | | | Avoids logic repetition.
* Clojure: Reverse String: Add solutionAndinus2021-09-055-0/+124
|
* Raku: RNA: Add solutionAndinus2021-09-054-0/+143
|
* Clojure: Two Fer: Use multi-arity function callAndinus2021-09-051-1/+1
|
* Clojure: Raindrops: Add solutionAndinus2021-09-055-0/+169
|
* JS: Luhn: Add solutionAndinus2021-09-059-0/+354
|
* Clojure: Two Fer: Add solutionAndinus2021-09-051-3/+3
|
* JS: Raindrops: Switch to using a mapAndinus2021-09-051-9/+9
| | | | | | | | | | | | | | | | I switched to single object literals initially: const factorToSound = { 3: "Pling", 5: "Plang", 7: "Plong" }; and used `for .. if` to iterate over them, that may cause some issues: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of#difference_between_for...of_and_for...in I decided to switch to using Maps and iterate over them with `for .. of` instead.
* C: Binary Search: Add solutionAndinus2021-09-059-0/+4101
|
* JS: Raindrops: Move rules to a constAndinus2021-09-051-8/+10
|
* Add note about licenseAndinus2021-09-051-0/+2
|
* Clojure: Add Hello World solution and Two Fer exerciseAndinus2021-09-0510-0/+261
|
* Add ignores for ClojureAndinus2021-09-051-0/+7
|
* JS: Hamming: Add solutionAndinus2021-09-049-0/+274
|
* JS: Raindrops: Remove repeated math logicAndinus2021-09-041-5/+11
| | | | | | - Removes repeated math logic. - Compares against "" instead of using .length. - Uses "number" instead of "num".
* Raku: Luhn: Add solutionAndinus2021-09-031-1/+8
|
* JS: Raindrops: Add solutionAndinus2021-09-039-0/+259
|
* Raku: Phone Number: Remove duplicate code with the use of proceedAndinus2021-09-031-12/+4
|
* C: Acronym: Single statement for initial checkAndinus2021-09-031-2/+1
|
* C: Acronym: Remove check for next character being NULL TerminatorAndinus2021-09-031-5/+5
| | | | Turns out it's not required.
* C: Solve leap exerciseAndinus2021-08-278-0/+3889
|
* JS: Solve resistor-color exerciseAndinus2021-08-277-0/+207
|
* JS: Use template literals in two-ferAndinus2021-08-252-3/+3
|
* JS: Remove Solution for square-rootAndinus2021-08-251-1/+4
| | | | Cannot use built-in function.
* JS: Solve hello-world, two-fer, square-rootAndinus2021-08-2521-0/+498
|
* C: Solution for sum-of-multiplesAndinus2021-08-258-0/+3952
|
* C: Add square-root exerciseAndinus2021-08-258-0/+3855
|
* C: Improve difference-of-squaresAndinus2021-08-251-28/+4
| | | | Use sum of series instead of calculating it.
* Raku: Solution for phone-numberAndinus2021-08-251-1/+35
|
* Update .gitignore to add Javascript ignoresAndinus2021-08-251-0/+2
|
* C: Two-ferAndinus2021-08-118-0/+3866
|
* C: Difference of Squares: Finding sum of squares without pow functionAndinus2021-08-111-3/+23
|
* C: Difference of Squares: Use pow from math.hAndinus2021-08-111-5/+6
|
* Add solved exercisesAndinus2021-08-11199-0/+55229
|
* Initial commitAndinus2021-08-112-0/+22