Pregunta de entrevista de Vedantu

find two largest number in array and take their difference. if difference is not present in arry then add it to array. repeat this process untill one element or zero element remaining. return remaining element.

Respuesta de la entrevista

Anónimo

18 ene 2021

by priority queue data structure

1
Pregunta de entrevista en Vedantu: find two largest number in array and take their difference. if difference is not present in arry then add it to array. repeat this process untill one element or zero element remaining. return remaining element. | Glassdoor