Pregunta de entrevista de Amazon Web Services

1) Range Query [ sliding window ] 2) Sorting and aggregation. In general, I was required to write algorithm that runs in O(N . lg N)

Respuesta de la entrevista

Anónimo

15 jun 2025

I was unable to fully solve both coding questions. The first problem resulted in a Time Limit Exceeded (TLE) error due to suboptimal implementation. In the second question, I was close to the correct solution but overlooked a critical piece of information, which led to some test cases failing.