Pergunta de entrevista da empresa Lynk Logistics

Extract two letters from a string and find distinct combinations of the same .