Problem 45426. The Tortoise and the Hare - 02
Solution Stats
Problem Comments
-
2 Comments
Rafael S.T. Vieira
on 28 Nov 2022
This problem is not really about DP or GA, but it is still good.
Rafael S.T. Vieira
on 28 Nov 2022
DP or GA require few test cases, or it can quickly grow beyond what is computational through current technology. For instance, 400 steps going ve or -ve, would require a tree with 2^401-1 nodes. It doesn't matter how we choose to traverse this tree, greedy or DP, it would only be fast to find a solution if there were many possible solutions (for this problem, there are just a few correct ones).
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
-
16783 Solvers
-
Convert from Base 10 to base 5
249 Solvers
-
353 Solvers
-
Right Triangle Side Lengths (Inspired by Project Euler Problem 39)
1470 Solvers
-
124 Solvers
More from this Author165
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!