Learn JavaScript

Lesson 6 of 9 · Performance, Memory, Debugging and the Interview Output Puzzles

Module 17 · Performance, Memory, Debugging and the Interview Output Puzzles

The Interview Pack: Thirty Output Puzzles, a Fenwick Tree and a Performance Bug Gallery

ProReading

Maria has an interview at a software company in Gulshan next week. Her friend warns her about the second round. The interviewer shows short programs on a screen, one after another, and asks the same question each time: "What does this print?" There is no computer to run them on, only the rules in your head.

Checking what this lesson needs for you…

What is inside The Interview Pack: Thirty Output Puzzles, a Fenwick Tree and a Performance Bug Gallery

  1. How to answer an output puzzle
  2. Types and coercion: Module 2
  3. Strings: Module 3
  4. Control flow: Module 4
  5. Functions: Module 5
  6. Scope and closures: Module 6
  7. Arrays: Module 7
  8. Objects: Module 8
  9. this and classes: Module 9
  10. Errors: Module 10
  11. The event loop: Module 12
  12. Promises: Module 13
  13. Pattern: a Fenwick tree for counting
  14. Six interview questions