Pregunta de entrevista de Qapitol QA

Find and return the longest repeating substring Convert the given numbers to rupees