GLANCE interview question

design a infinite drop down