ZS Associates Interview Question

Dynamic Approach related question was asked