Pregunta de entrevista de NATEK

Nothing special, just regular stuff regarding patterns, algorithms and a few words about SQL.