4 ms·
Root-finding algorithms, or more generally iterative optimization and numerical solution of equations, isn't something to be sneered at. Sure, it's a front end
by DaniFong 18y ago
Root-finding algorithms, or more generally iterative optimization and numerical solution of equations, isn't something to be sneered at. Sure, it's a front end position, but the ability to do this is something I'd want to know if I were interviewing you, too.
- geuis 18y agoI agree 100%. I still count not being able to answer that question as a deficit in my own knowledge and have done work post-that to be able to answer those types of questions in the future. It doesn't change my opinion about the experience, unfortunately.
- abossy 18y agoMany square root methods have been devised, notable among them the Newton method, devised by the guy that invented calculus.. How does front-end design work significantly overlap with this? I would wager that one could quiz the best CSS/Javascript gurus in the world and not a single one would know, nor care.
- strlen 18y agoIt's not just the numerical analysis aspect: what if the interviewer was looking for knowledge of functional programming (given Javascript's support for first order functions)? Given that square root via Newton's Method is one of the first "wow this is really neat" things that struck out to me when I read SICP: http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html#%_sec_1.1.7 http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-10.html...