Cover image for Huawei Technologies
Logo

Huawei Technologies

Empresa activa

Huawei Technologies

Añadir una entrevista

Pregunta de entrevista

Entrevista de Software Engineer With 2+ Years of Experience

-

Huawei Technologies

Programs like remove the duplicate numbers in sorted array by scanning the array only once, means {1,1,2,3,6,8,8,8,8}-->{1,2,3,6,8}, producer and consumer problem, and finding the sum of diagonal elemts in array of any size, etc

Respuestas de entrevistas

2 respuestas

0

take the elements in array , then look for match up among rest elements, if found then shift 1 position up the rest elements and so on.

Pratik Roy en

0

for removing the duplicate elements we need to maintain one uniq index.

Anónimo en

Añadir respuestas o comentarios

Para publicar un comentario sobre esto, inicia sesión o regístrate.