EPAM Systems Interview Question

recursion and missing value finding questions