Pregunta de entrevista de Capital One

Case about a math optimization problem. Example calculations, algorithm, fix bug in sample code. Mostly problem solving / talking through your thought process.