How would you start with a basic solution and dynamically adapt it as the interviewer adds new requirements or constraints?