Capital One Interview Question

Review this code, What does it do? What's wrong with it? How would you improve it?

Interview Answer

Anonymous

May 6, 2024

Pointed out all the issues I could see and suggested fixes. Issues were extremely obvious (hard coded variables, global scope, python anti patterns, etc...)