Algorithms 101: Level Patio in JavaScript
Noob v. Algorithms #19, improving runtime by operating on arrays in place
Nov 6 · 5 min read

Long ago, my husband and I hand-laid a brick patio in our backyard. (Yes, we put in a by-the-book base of gravel, sand, weed-blocking material, you name it). Over the years, some areas have sunk. If we wanted to redo it, we’d have to take off the bricks and level the…


