Domanda di colloquio di Amazon

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

Risposta di colloquio

Anonimo

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