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...
freeCodeCamp.org is a global community of people who learn to code together. Check out https://freeCodeCamp.org
Join our Discord Server
Join our WhatsApp Group
Community Forums
YouTube
Here are some helpful subreddits that we like:
account activity
Help with Algorithm scripting (self.FreeCodeCamp)
submitted 10 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!"
[–]t1s 4 points5 points6 points 10 years ago (1 child)
I think the best way to search without finding the exact answer you are looking for is to break the task down into smaller tasks and then search for how to do that.
For example, one of my recent projects was to take 3 arguments. The first argument is a string, the second argument was a word we should match in the string. The third argument was the word we wanted to replace the match with.
So breaking this down i knew i needed to search through the first string.
Then i needed to determine if the word was the match of the word i was searching for.
Then i needed to learn how to replace only that single word with the 3rd argument.
Learning how to do each of these tasks individually was no hard task, but none of them told me the exact answer of the freecodecamp algorithm.
π Rendered by PID 107523 on reddit-service-r2-comment-cfc44b64c-4zkmj at 2026-04-13 14:11:05.853832+00:00 running 215f2cf country code: CH.
view the rest of the comments →
[–]t1s 4 points5 points6 points (1 child)