WisdmLabs Interview Question

How to generate random no without using inbuilt function