You’re given a mysterious recursive algorithm whose behavior…

You’re given a mysterious recursive algorithm whose behavior is unknown, called MysteryRecursion. We don’t know what this algorithm computes or what its real-world application is, but we do have the recurrence. Write pseudocode for a memoized dynamic programming algorithm that solves MysteryRecursion. The recurrence is given below.