Kensho Technologies Interview Question

How to select a random element from a set?