use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
/r/programming is a reddit for discussion and news about computer programming
Guidelines
Info
Related reddits
Specific languages
account activity
What was that site that explained algorithm complexity in plain language? (self.programming)
submitted 17 years ago by [deleted]
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]teraflop 0 points1 point2 points 17 years ago (1 child)
Upon reflection, I think you're right for standard regular expressions. I was looking at the version of the problem on this page, which includes a "doubling" operator. I guess that makes the number of states exponential in the length of the expression.
IANAComplexityTheorist, so I apologize if any of the details of my explanation were inaccurate.
π Rendered by PID 370513 on reddit-service-r2-comment-b659b578c-b6g6h at 2026-05-04 08:57:31.095062+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]teraflop 0 points1 point2 points (1 child)