Pregunta de entrevista de Shopee

Recursive algorithm question fibbonaci with memoization