Solution Review

This lesson gives a detailed solution review of the problem.

We'll cover the following

Solution

Here’s the merged solution to the problem that we discussed in the previous lesson. The solution also takes into account these two factors:

  • Negative steps
  • Multi-dimensional arrays