AppDynamics interview question

Algorithms