Pergunta de entrevista da empresa Verizon

typical easy algorithm questions, ex. return the kth largest element