Juniper Networks interview question

Basic Data structures, Trees - dynamic programming