Pregunta de entrevista de Climb Credit

Simple coding question and system design based on their product.