https://ide.codingblocks.com/s/67724
my two test cases are working fine and two are giving me wrong output
Removing duplicates recursion
@checkmate112 there is small modification required in your code i have corrected your code. you can refer this this.