Not able to code the Solution for Unique Prefix

I am not able to code it, so can I get the code of it.

Hey @Varun97 take a look at this implementation https://ide.codingblocks.com/s/183817
If you have still have any further doubts please feel free to ask otherwise kindly mark the doubt as resolved.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.