Pergunta de entrevista da empresa Kensho Technologies

How to select a random element from a set?