The JavaScript Challenge
$7.99
Minimum price
$12.00
Suggested price

The JavaScript Challenge

A collection of JavaScript interview questions

About the Book

This book is meant to prepare you for challenging algorithms and JavaScript nuances that I have been asked during the course of my career. The main focus is to prepare those who are about to embark on the job applications process.

About the Author

Oscar Lodriguez
Oscar Lodriguez

A passionate and motivated Software Engineer majored in information technology. Shares a vision for developing semantically and syntactically correct software for mobile and web applications. Loves to keep things SOLID and sports a YAGNI approach.

Table of Contents

  • Hola!
    • Heads up everyone!
  • 1. The simple one
    • Task
    • Company expectation
  • 2. The one with pick
    • Task
    • Company expectation
  • 3. The recursive one
    • Task
    • Company expectation
  • 4. The doppelganger one
    • Task
    • Company expectation
  • 5. The weird one
    • Task
    • Company expectation
  • 6. The buggy one
    • Task
    • Company expectation
  • 7. The prototype one
    • Task
    • Company expectation
  • 8. The one with Memoization
    • Task
    • Company expectation
  • 9. The callback one
    • Task
    • Company expectation
  • 10. The one with promises
    • Task
    • Company expectation
  • 11. The one with Async Await
    • Task
    • Company expectation
  • 12. The one with a Buzz
    • Task
    • Company expectation
  • 13. The Flattened one
    • Task
    • Company expectation
  • 14. The one with closures
    • Task
    • Company expectation
  • 15. The hoisting one
    • Task
    • Company expectation
  • 16. The one with default value
    • Task
    • Company expectation
  • 17. The one with passing reference and values
    • Task
    • Company expectation
  • 18. The one with DOM manipulation
    • Task
    • Company expectation
  • 19. The one get and set
    • Task
    • Company expectation
  • 20. The one with the polls
    • Task
    • Company expectation
  • 21. The IIFE one
    • Task
    • Company expectation
  • 22. The one with towers
    • Task
    • Company expectation
  • 23. The one with pure functions
    • Task
    • Company expectation
  • 24. The one with transformations
    • Task
    • Company expectation
  • 25. The one with errors
    • Task
    • Company expectation
  • 26. The chatty one
    • Task
    • Company expectation
  • 27. The render dodge one
    • Task
    • Company expectation
  • 28. Functional Components
    • Task
    • Company expectation
  • 29. The Battleships
    • Task
    • Company expectation
  • 30. Parallel tasks
    • Task
    • Company expectation
  • 31. Importance of named functions
    • Task
    • Company expectation
  • 32. Emptying an Array
    • Task
    • Company expectation
  • 33. Create native methods
    • Task
    • Company expectation
  • 34. Difference between Call and Apply
    • Task
    • Company expectation
  • 35. Another one with data types
    • Task
    • Company expectation
  • 36. Event Loop
    • Task
    • Company expectation
  • 37. Palindrome
    • Task
    • Company expectation
  • 38. TODO or not to do
    • Task
    • Company expectation
  • 39. StackOverflow
    • Task
    • Company expectation
  • 40. The one about tomatoes
    • Task
    • Company expectation
  • 41. The one about Lambda’s
    • Task
    • Company expectation
  • 42. Framework paradigms
    • Task
    • Company expectation
  • 43. Color sort
    • Task
    • Company expectation
  • 44. A perfect circle
    • Task
    • Company expectation
  • 45. Creation design patterns
    • Task
    • Company expectation
  • 46. Mull functions
    • Task
    • Company expectation
  • 47. Knowing how delete works
    • Task
    • Company expectation
  • 48. Knowing how delete works part 2
    • Task
    • Company expectation
  • 49. Joining powers
    • Task
    • Company expectation
  • 50. It’s time!
    • Task
    • Company expectation
  • 1. Answer to “The simple one”
    • Task
    • Solution
  • 2. Answer for “The one with pick”
    • Task
    • Solution
  • 3. Answer to “The doppelganger one”
    • Task
    • Solution
  • 4. Answer to “The recursive one”
    • Task
    • Task
  • 5. Answer to “The weird one”
    • Task
    • Solution
  • 6. Answer to “The buggy one”
    • Task
    • Solution
  • 7. Answer to “The prototype one”
    • Task
    • Solution
  • 8. Answer to “The one with Memoization”
    • Task
    • Solution
  • 9. Answer to “The callback one”
    • Task
    • Solution
  • 10. Answer to “The one with promises”
    • Task
    • Solution
  • 12. The one with Async Await
    • Task
    • Solution
  • 13. Answer to “The one with a Buzz”
    • Task
    • Solution
  • 14. Answer to “The Flattened one”
    • Task
    • Solution
  • 15. Answer to “The one with closures”
    • Task
    • Solution
  • 16. Answer to “The hoisting one”
    • Task
    • Solution
  • 17. Answer to “The one with default value”
    • Task
    • Solution
  • 18. Answer to “The one with passing reference and values”
    • Task
    • Solution
  • 19. Answer to “The one with DOM manipulation”
    • Task
    • Solution
  • 20. Answer to “The one get and set”
    • Task
    • Solution
  • 21. Answer to “The one with the polls”
    • Task
    • Solution
  • 22. Answer to “The IIFE one”
    • Task
    • Solution
  • 23. Answer to “The one with towers”
    • Task
    • Solution
  • 24. The one with pure functions
    • Task
    • Solution
  • 25. Answer to “The one with transformations”
    • Task
    • Solution
  • 26. Answer to “The one with errors”
    • Task
    • Solution
  • 27. Answer to “The chatty one”
    • Task
    • Solution
  • 28. Answer to “The render dodge one”
    • Task
    • Solution
  • 29. Answer to “The with a 2d matrix”
    • Task
    • Solution
  • 30. Answer to “The Battleships”
    • Solution
  • 31. Answer to “Parallel tasks”
    • Company expectation
    • Solution
  • 32. Answer to “Importance of named functions”
    • Task
    • Solution
  • 33. Answer to “Emptying an Array”
    • Task
    • Solution
  • 34. Answer to “Create native methods”
    • Task
    • Solution
  • 35. Answer to “Difference between Call and Apply”
    • Task
    • Solution
  • 36. Answer to “Another one with data types”
    • Task
    • Solution
  • 37. Answer to “Event Loop”
    • Task
    • Solution
  • 38. Answer to “Palindrome”
    • Task
    • Solution
  • 39. Answer to “TODO or not to do”
    • Task
    • Solution
  • 40. Answer to “StackOverflow”
    • Task
    • Solution
  • 41. Answer to “The one about tomatoes”
    • Task
    • Solution
  • 42. Answer to “The one about Lambda’s”
    • Task
    • Solution
  • 43. Answer to “Framework paradigms”
    • Task
    • Solution
  • 44. Answer to “Color sort”
    • Task
    • Solution
  • 45. Answer to “A perfect circle”
    • Task
    • Solution
  • 46. Answer to “Creation design patterns”
    • Task
    • Solution
  • 47. Answer to “Mull functions”
    • Task
    • Solution
  • 48. Answer to “Knowing how delete works”
    • Task
    • Solution
  • 49. Answer to “Knowing how objects work part 2”
    • Task
    • Solution
  • 50. Answer to “Joining powers”
    • Task
    • Solution
  • 51. Answer to “It’s time!”
    • Task
    • Solution
  • 52. Bonus to The one with an accumulator
    • Task
    • Expected result
    • Challenge
  • 52. Bonus Answer to The one with an accumulator
    • Task
    • Solution

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earnedover $14 millionwriting, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub