Genuine interview question

Recursion, sql queries, javascript, pattern code