LendInvest interview question

API's, OOP, Clean Code, SOLID...