use the following search parameters to narrow your results:
e.g. subreddit:pics site:imgur.com dog
subreddit:pics site:imgur.com dog
advanced search: by author, sub...
~0 users here now
Links:
My old programming problem
submitted 1 year ago by fschmidt from self.programming
view the rest of the comments →
[–]HeyBobby 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (2 children)
Pretty simple problem. Programmers must not have been good back then. This is like a level 5 codewars practice exercise.
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (1 child)
The brute force simulation approach takes too long, or at least it did back then. So one has to find a better approach than just simulating shuffles.
[–]Vulptex 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - 1 year ago (0 children)
I mean the simulation approach could be used to lead you to the faster solution.
view the rest of the comments →
[–]HeyBobby 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (2 children)
[–]fschmidt[S] 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (1 child)
[–]Vulptex 1 insightful - 1 fun1 insightful - 0 fun2 insightful - 0 fun2 insightful - 1 fun - (0 children)