CARVANA interview question

Coding exercise based on system design