Pregunta de entrevista de Amazon

Write a JS code to travers the DOM and find an element with a specified class name

Respuesta de la entrevista

Anónimo

26 feb 2012

Start simple. They will try to push you to optimize it (O(n) vs O(log n), recursive etc). Be aware of edge cases. Depthvs breadth)

1