NTR Group Interview Question

1. Reverse the string