Juniper Networks Interview Question

One was to generate random number without using any library.