Dynatrace interview question

java/jvm/gc and small algorithmic task.