Leanpub Header

Skip to main content

The JavaScript Challenge

A collection of JavaScript interview questions

A collection of challenging JavaScript questions, quizzes and obstacles. Some hard and other moderately easy. In any case you will be ready for any challenge a company throws at you!

Minimum price

$7.99

$12.00

You pay

$12.00

Author earns

$9.60
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
101
Readers
127
Pages
12,689Words
About

About

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.

Share this book

Categories

Author

About the Author

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.

Contents

Table of Contents

Hola!

  1. Heads up everyone!

1. The simple one

  1. Task
  2. Company expectation

2. The one with pick

  1. Task
  2. Company expectation

3. The recursive one

  1. Task
  2. Company expectation

4. The doppelganger one

  1. Task
  2. Company expectation

5. The weird one

  1. Task
  2. Company expectation

6. The buggy one

  1. Task
  2. Company expectation

7. The prototype one

  1. Task
  2. Company expectation

8. The one with Memoization

  1. Task
  2. Company expectation

9. The callback one

  1. Task
  2. Company expectation

10. The one with promises

  1. Task
  2. Company expectation

11. The one with Async Await

  1. Task
  2. Company expectation

12. The one with a Buzz

  1. Task
  2. Company expectation

13. The Flattened one

  1. Task
  2. Company expectation

14. The one with closures

  1. Task
  2. Company expectation

15. The hoisting one

  1. Task
  2. Company expectation

16. The one with default value

  1. Task
  2. Company expectation

17. The one with passing reference and values

  1. Task
  2. Company expectation

18. The one with DOM manipulation

  1. Task
  2. Company expectation

19. The one get and set

  1. Task
  2. Company expectation

20. The one with the polls

  1. Task
  2. Company expectation

21. The IIFE one

  1. Task
  2. Company expectation

22. The one with towers

  1. Task
  2. Company expectation

23. The one with pure functions

  1. Task
  2. Company expectation

24. The one with transformations

  1. Task
  2. Company expectation

25. The one with errors

  1. Task
  2. Company expectation

26. The chatty one

  1. Task
  2. Company expectation

27. The render dodge one

  1. Task
  2. Company expectation

28. Functional Components

  1. Task
  2. Company expectation

29. The Battleships

  1. Task
  2. Company expectation

30. Parallel tasks

  1. Task
  2. Company expectation

31. Importance of named functions

  1. Task
  2. Company expectation

32. Emptying an Array

  1. Task
  2. Company expectation

33. Create native methods

  1. Task
  2. Company expectation

34. Difference between Call and Apply

  1. Task
  2. Company expectation

35. Another one with data types

  1. Task
  2. Company expectation

36. Event Loop

  1. Task
  2. Company expectation

37. Palindrome

  1. Task
  2. Company expectation

38. TODO or not to do

  1. Task
  2. Company expectation

39. StackOverflow

  1. Task
  2. Company expectation

40. The one about tomatoes

  1. Task
  2. Company expectation

41. The one about Lambda’s

  1. Task
  2. Company expectation

42. Framework paradigms

  1. Task
  2. Company expectation

43. Color sort

  1. Task
  2. Company expectation

44. A perfect circle

  1. Task
  2. Company expectation

45. Creation design patterns

  1. Task
  2. Company expectation

46. Mull functions

  1. Task
  2. Company expectation

47. Knowing how delete works

  1. Task
  2. Company expectation

48. Knowing how delete works part 2

  1. Task
  2. Company expectation

49. Joining powers

  1. Task
  2. Company expectation

50. It’s time!

  1. Task
  2. Company expectation

1. Answer to “The simple one”

  1. Task
  2. Solution

2. Answer for “The one with pick”

  1. Task
  2. Solution

3. Answer to “The doppelganger one”

  1. Task
  2. Solution

4. Answer to “The recursive one”

  1. Task
  2. Task

5. Answer to “The weird one”

  1. Task
  2. Solution

6. Answer to “The buggy one”

  1. Task
  2. Solution

7. Answer to “The prototype one”

  1. Task
  2. Solution

8. Answer to “The one with Memoization”

  1. Task
  2. Solution

9. Answer to “The callback one”

  1. Task
  2. Solution

10. Answer to “The one with promises”

  1. Task
  2. Solution

12. The one with Async Await

  1. Task
  2. Solution

13. Answer to “The one with a Buzz”

  1. Task
  2. Solution

14. Answer to “The Flattened one”

  1. Task
  2. Solution

15. Answer to “The one with closures”

  1. Task
  2. Solution

16. Answer to “The hoisting one”

  1. Task
  2. Solution

17. Answer to “The one with default value”

  1. Task
  2. Solution

18. Answer to “The one with passing reference and values”

  1. Task
  2. Solution

19. Answer to “The one with DOM manipulation”

  1. Task
  2. Solution

20. Answer to “The one get and set”

  1. Task
  2. Solution

21. Answer to “The one with the polls”

  1. Task
  2. Solution

22. Answer to “The IIFE one”

  1. Task
  2. Solution

23. Answer to “The one with towers”

  1. Task
  2. Solution

24. The one with pure functions

  1. Task
  2. Solution

25. Answer to “The one with transformations”

  1. Task
  2. Solution

26. Answer to “The one with errors”

  1. Task
  2. Solution

27. Answer to “The chatty one”

  1. Task
  2. Solution

28. Answer to “The render dodge one”

  1. Task
  2. Solution

29. Answer to “The with a 2d matrix”

  1. Task
  2. Solution

30. Answer to “The Battleships”

  1. Solution

31. Answer to “Parallel tasks”

  1. Company expectation
  2. Solution

32. Answer to “Importance of named functions”

  1. Task
  2. Solution

33. Answer to “Emptying an Array”

  1. Task
  2. Solution

34. Answer to “Create native methods”

  1. Task
  2. Solution

35. Answer to “Difference between Call and Apply”

  1. Task
  2. Solution

36. Answer to “Another one with data types”

  1. Task
  2. Solution

37. Answer to “Event Loop”

  1. Task
  2. Solution

38. Answer to “Palindrome”

  1. Task
  2. Solution

39. Answer to “TODO or not to do”

  1. Task
  2. Solution

40. Answer to “StackOverflow”

  1. Task
  2. Solution

41. Answer to “The one about tomatoes”

  1. Task
  2. Solution

42. Answer to “The one about Lambda’s”

  1. Task
  2. Solution

43. Answer to “Framework paradigms”

  1. Task
  2. Solution

44. Answer to “Color sort”

  1. Task
  2. Solution

45. Answer to “A perfect circle”

  1. Task
  2. Solution

46. Answer to “Creation design patterns”

  1. Task
  2. Solution

47. Answer to “Mull functions”

  1. Task
  2. Solution

48. Answer to “Knowing how delete works”

  1. Task
  2. Solution

49. Answer to “Knowing how objects work part 2”

  1. Task
  2. Solution

50. Answer to “Joining powers”

  1. Task
  2. Solution

51. Answer to “It’s time!”

  1. Task
  2. Solution

52. Bonus to The one with an accumulator

  1. Task
  2. Expected result
  3. Challenge

52. Bonus Answer to The one with an accumulator

  1. Task
  2. 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 earned over $14 million writing, 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