Juniper Networks Interview Question

Basic LC Coding Questions, the screening round was difficult.