Capital One interview question

Numerical questions, majorly calculation and solving