Pergunta de entrevista da empresa Qapitol QA

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