June 2024
Beginner
520 pages
12h 20m
English
Recursion is a powerful technique supported by modern programming languages. Well-designed recursive programs can be simpler and more elegantly designed than their iterative counterparts. But recursive thinking is required to know when to use recursion and how to do it appropriately. Recursion combined with backtracking can exploit a computer’s ability to try many solution paths rapidly and exhaustively. The example programs in chapter 15 introduce recursive thinking, and they demonstrate recursion and recursion with backtracking.
Multithreading is a technique that enables a program to run multiple execution paths simultaneously. Well-designed multithreaded programs can perform better than their single-threaded ...
Read now
Unlock full access