aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Schneider <atschneider@temple.edu>2024-06-16 07:10:57 -0400
committerAndrew Schneider <atschneider@temple.edu>2024-06-16 07:10:57 -0400
commit0b51d8d19f1a87d30a6440d20c08fee8b43181f5 (patch)
treea0780254ce85315cb626c345e9dfd24c6369dff0
parent9b1ef4cf7c63abd20dcb8cd23dae942f46ac65f7 (diff)
downloadperlweeklychallenge-club-0b51d8d19f1a87d30a6440d20c08fee8b43181f5.tar.gz
perlweeklychallenge-club-0b51d8d19f1a87d30a6440d20c08fee8b43181f5.tar.bz2
perlweeklychallenge-club-0b51d8d19f1a87d30a6440d20c08fee8b43181f5.zip
math formatting
-rw-r--r--challenge-273/atschneid/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-273/atschneid/README.md b/challenge-273/atschneid/README.md
index e9505d1d6a..07a949431b 100644
--- a/challenge-273/atschneid/README.md
+++ b/challenge-273/atschneid/README.md
@@ -4,7 +4,7 @@
Being a stream of consciousness write up of some details of my code for [PWC 273](https://theweeklychallenge.org/blog/perl-weekly-challenge-273/)
-The challenges this week seemed pretty straightforward. Both of them have pretty direct solutions based on an algorithm of walking along a string, character by character, setting some flag variables or counts. In both cases it was simple to come up solutions that go through each string exactly one time, clearly in $\mathcal{O}(n)$ for $n = |string|$.
+The challenges this week seemed pretty straightforward. Both of them have pretty direct solutions based on an algorithm of walking along a string, character by character, setting some flag variables or counts. In both cases it was simple to come up solutions that go through each string exactly one time, clearly in $\mathcal{O}(n)$ for $n = |\text{string}|$.
So it is basically impossible to find a better algorithm. But I needed to remind myself that that is *boring!* For one, I try to make my solutions in different languages as different as possible, and just transcribing the same code into different syntax would not be that. And this is supposed to be a chance to do something fun, learn something new.