Capital One Interview Question

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.