Pergunta de entrevista da empresa Booking.com

They asked algorithm questions to check my problem solving skills and data structure knowledge. One question was about fill color function. Basically they I asked how can you fill a given grid with the color of the selected pixel. Then they asked me about my favorite data structure and whether I know how it is implemented.

Resposta da entrevista

Sigiloso

15 de dez. de 2015

For the first one I answered with a recursive algorithm. Then they asked me for an iterative one and eventually I gave the answer. While answering the question we had discussion about differences between stack and heap memories, performance problems of recursive solutions. I told them map is my favorite data structure and explained that it can be implemented using hash functions.

1