Summary
In this chapter, we covered the most popular problems that fit into the mathematics and puzzles categories. While many companies avoid such problems, there are still major players such as Google and Amazon that rely on these kinds of problems in their interviews.
Practicing such problems represents a good exercise for our brains. Besides the math knowledge, these problems sustain analytical thinking based on deductions and intuition, which means they are great support for any programmer.
In the next chapter, we'll tackle a hot topic in interviews: concurrency (multithreading).