Pergunta de entrevista da empresa Cisco

in tech rounds... 1. how do you generate random numbers... 2. linked-list related questions 3. different sorting techniques and their advantages in problem solving skills 1. how do you major the length of all road in a campus without using any speedometer... all methods you could think of were expected... then he went further and asked how one can do it with using cycle only ... 2. you are at ground floor...lift at 3rd and your friend is at 6th... in which direction lift will go if you and your friend presses the button simultaneously? no delta time involved between two pressings