Pergunta de entrevista da empresa ServiceNow

Find the second biggest element in array (one pass) Find the height of a tree Describe a DS that can work with func that with given range(a,b) returns all numbers in the DS that fit in thisrange.