Doubt in the approach of Remove Duplicates

Here’s my code: https://ide.codingblocks.com/s/82902
Yes, all my test cases have passed, but I would like to know, if I have used recursion properly . What I really mean is that, I wanted to know if my approach to topic ‘Recursion’ through this program is correct.

@Pranshu_gupta yeah pranshu your code is fine.