Capital One Interview Question

OA 4 questions, 2 easy, 2 medium