Cody

Problem 46591. Ackerman Function

Solution 3188146

Submitted on 13 Oct 2020 by kaatil_coder
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Pass
m = 1; n = 1; a_correct = 3; assert(isequal(ack(m,n),a_correct))

2   Pass
m = 3; n = 4; a_correct = 125; assert(isequal(ack(m,n),a_correct))

3   Pass
m = 3; n = 2; a_correct = 29; assert(isequal(ack(m,n),a_correct))

Suggested Problems

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!