Autodesk Interview Question

2 interview questions on hacker rank platform. 1. Functional programming 2.finding and fixing Error