| Random Link ¯\_(ツ)_/¯ | ||
| Nov 3, 2019 | » | To-Do List (Intermediate)
2 min; updated Nov 3, 2019
DescriptionLink to original Reddit submission
|
| Oct 7, 2019 | » | Smooshed Morse Code (Intermediate)
3 min; updated Oct 7, 2019
DescriptionLink to original Reddit submission The challenge is to match a string like SolutionI’m used to problems where the resources are not depleted, e.g. I can use |
| Jan 26, 2018 | » | Fermat's Little Theorem (Intermediate)
2 min; updated Jan 26, 2018
DescriptionMost introductionary implementations for testing the primality of a number have a time complexity of $ O(\sqrt{n}) $. For large numbers this is not a feasible strategy, for example testing a 400 digit number . Fermat’s Little Theorem states:
|
| Jan 22, 2018 | » | Linear Feedback Shift Register (Intermediate)
3 min; updated Jan 22, 2018
DescriptionIn computing, a linear-feedback shift register (LFSR) is a shift register whose input bit is a linear function of its previous state. The most commonly used linear function of single bits is exclusive-or (XOR). Thus, an LFSR is most often a shift register whose input bit is driven by the XOR of some bits of the overall shift register value. ... |