Pregunta de entrevista

Entrevista de Applied Scientist Speech

-

Amazon

Programming question: find the number of connected components from 2-dimensional grid (mark 1s as component, 0s for others).

Respuesta

Respuesta de la entrevista

1 respuesta

0

I did the program in Python quickly using 2D array search and if-else conditioning. The interviewer agreed with my solution. However, he did mention that if I can do it in C++, it will be even better.

Anónimo en

Añadir respuestas o comentarios

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