Pergunta de entrevista da empresa Capital One

Hackerrank questions, involving max heap and KPM string matching algorithm