Pergunta de entrevista da empresa Techwave Consulting

First non repeating character Second question related to binary search problem second maximum number in list of numbers