Pergunta de entrevista da empresa Micron Technology

1) Find the second largest element in an array 2) Find the first non-repeating letter in a string 3) Detecting cycle in a undirected graph