The CBORD Group Interview Question

Find duplicate string but dont use list or in built functions and make sure it is time/complexity