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