aboutsummaryrefslogtreecommitdiff
path: root/challenge-097/abigail
AgeCommit message (Collapse)Author
2021-01-30Link to blog post for week 97, part 2Abigail
2021-01-30Swap the role of sections and section length (size).Abigail
We initially implemented the algorithm where the number of sections is passed in as a parameter. However, it's not the number of sections, it's the length of each section. This was an easy fix, as the algorithm is pretty symmetric.
2021-01-30Pointless splitting into sub strings.Abigail
The challenge asks to first split the given string into substring. But for the calculation of the end result, we don't actually need those substrings. To make sure we won't be disqualified, we split the given strings into substrings -- which we tell ignore. We only do this for the Perl solution; other language solutions will not include pointless statements.
2021-01-30Link to blog post for week 97, part 1Abigail
2021-01-30Eliminate a magic numberAbigail
2021-01-30No need to split a string into individual charactersAbigail
2021-01-30Improvements for the Perl solution of week 97, part 1Abigail
2021-01-27Fix example.Abigail
The right option to mimic the given example is -s 2, not -s 4. (But curiously, this leads to the same answer).
2021-01-27Add another test case.Abigail
In particular, a case where the target string is different from all the strings: 1110 1101 1011 If we flip all the 0 bits to 1, all the strings will be equal (1111), but 1111 is not one of the given strings.
2021-01-27Typo fixAbigail
2021-01-27Bash and Ruby solutions for week 97, part 2Abigail
2021-01-27Python solution for week 97, part 2Abigail
2021-01-27Notes come after the examples.Abigail
2021-01-27Make C solution more like the other solutions.Abigail
2021-01-27Make AWK solution more like the other solutions.Abigail
2021-01-27Add algorithm notes to READMEAbigail
2021-01-27Use the same algorithm for the perl solution as for other languages.Abigail
2021-01-27Node.js solution for week 97, part 2Abigail
2021-01-27Lua solution for week 97, part 2Abigail
2021-01-27C solution for week 97. part 2Abigail
2021-01-27Bash solution: disable pathname expansionAbigail
2021-01-27Fix commentAbigail
2021-01-27AWK solution for week 97, part 2Abigail
2021-01-26Perl solution for week 97, part 2Abigail
2021-01-26Split example for part 2Abigail
Since they need different command line options
2021-01-26Ruby solution for week 97, part 1Abigail
2021-01-26Python solution for week 97, part 1Abigail
2021-01-26Lua solution for week 97, part 2Abigail
2021-01-26C solution for week 97, part 2Abigail
2021-01-26AWK solution for week 097, part 1Abigail
2021-01-26Bash solution for week 097, part 2Abigail
2021-01-26Node.js solution for week 097, part 1Abigail
2021-01-26Use option -s (shift), instead of -t.Abigail
2021-01-26Use an option to determine the shift size.Abigail
2021-01-26Perl solution for week 97, part 1Abigail
2021-01-26ExamplesAbigail
2021-01-26READMEAbigail
2021-01-25- Added template for Challenge 97.Mohammad S Anwar