Describe a time you solved a moderately difficult algorithmic problem under time pressure and how you approached it step by step.
Cover how you clarified requirements, selected data structures and an algorithm, analyzed complexity, validated edge cases, and communicated trade-offs. For the practical representation, describe_approach(problem, constraints) accepts a problem statement and constraint list, returning an ordered list of solution steps.
problem is a string.constraints is a list of strings.def describe_approach(problem, constraints):