Dassault Systèmes interview question

Write a code to reverse the string using recursion.