Chapter Overview

Learn what we will be covering in this chapter.

“Truth is multi-dimensional; it depends on the perspective you view from.”

Peter Shepherd- Peter \space Shepherd


In this chapter, we will cover multi-dimensional arrays and learn to solve various problems that use multi-dimensional arrays.

We’ll be looking at different ways 2-D arrays can be traversed and then apply these different traversal techniques to solve different problems such as sorting large integers (radix sort), creating rotating spirals, etc.

Another very interesting problem is the prison break problem, where we find whether a prisoner can escape their prison (a 2-D space using a multi-dimensional array).

So let’s begin!