Pergunta de entrevista da empresa Capital One

2 very easy leetcode questions, followed by a medium level string formatting problem. Had no time for the fourth question in the 70 minute window.