-
1 Comment
Mayank Bajpai
on 1 Nov 2020
I didn't expected the recursion to work because of it's exponential time complexity O(3^(n-3)). But it worked :O.
Nicely written code. ^_^
Suggested Problems
-
Find the numeric mean of the prime numbers in a matrix.
8994 Solvers
-
2450 Solvers
-
I've got the power! (Inspired by Project Euler problem 29)
128 Solvers
-
7366 Solvers
-
Find the equivalent resistance of a dc circuit
45 Solvers
More from this Author5
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!