Truein interview question

Quesns related array, LL, recursion