backtracking
Flip Matrix Brute Force
Introduction Warning: Code may not be 100% compilable but it should be close. I was making changes along the way so although at one point it passed the test cases it might not now. In our previous posts we learned how to reverse rows and columns which we can use to solve Flip Matrix in a brute force …
Reversing rows and cols …
Introduction I want to cover the Flipping the Matrix problem in a non optimal way in order to practice a few fundamentals that I think are important. In this post we’ll cover nested loops and list comprehensions and in the next post we will cover backtracking and combinations. List …