Climb Credit interview question

Simple coding question and system design based on their product.