js-assessment-answers
js-assessment-answers copied to clipboard
Regarding issue #104, I used Promises to answer the asynchronous tests. Vanilla JS to the rescue!
Added dynamic programming solution for fibonacci
I thought it would be better not to use Objects to answer this since this is an exercice about Arrays.
The current answer for the duplicates question is this: ``` var seen = {}; var dupes = []; for (var i = 0, len = arr.length; i < len; i++)...
I'm curious about the solution for `convertToBinary`. Currently, it's breaking off each bit and sticking it into an array to join later. I used `num.toString(2)` for the initial conversion and...
It was real fun trying out the JS assessment. Thanks for putting it up @rmurphey :) I noticed that the repo had a few incomplete answers and so just as...
I'm not a super promise expert so please let me know if anything needs corrected or isn't best practice!
I may have missed use of jQuery in other answers, but I feel like it would be cleaner to use straight javascript in the answers for these tests - is...
Master
Added some alternative code. Added files strings.js