Wilfred Hughes on Nostr: TIL Advent of Code and Project Euler will deliberately look for puzzles where the ...
TIL Advent of Code and Project Euler will deliberately look for puzzles where the naive solution is worse than quadratic.
This ensures that people can solve them with any programming language. You don't want fast languages to be able to use the naive solution.
Published at
2025-01-18 04:30:46Event JSON
{
"id": "3409994e77c1943820396680639cf0c47e540201892bf194d690a56422f680eb",
"pubkey": "27c7ddcdba1d8cc847191c23aa2bf54f085cdedb6a6d7e5e460e6c8b59798786",
"created_at": 1737174646,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/users/wilfredh/statuses/113847477613072427",
"activitypub"
]
],
"content": "TIL Advent of Code and Project Euler will deliberately look for puzzles where the naive solution is worse than quadratic.\n\nThis ensures that people can solve them with any programming language. You don't want fast languages to be able to use the naive solution.",
"sig": "788d312ed32493f74fd2d394d5322f6e1066c823bf5114c9193ad7d13bf1f4c8fae5744042cdfd89c8ffb17da0735ffc6939e9426fa35c5d02a1ddfb43abedb6"
}