Pergunta de entrevista da empresa Harness

Given a stream of numbers and get rank for a given number? Search and replace node in a given array list.

Respostas da entrevista

Sigiloso

21 de nov. de 2017

Gave best optimal solution

Sigiloso

31 de jul. de 2018

Given a stream of numbers and get rank for a given number Insert the numbers into a tree set ( This will give you sorted order ) Get the index of the number Rank = index - 1