data-structures
-
I recently had to solve the problem below during an interview. I thought I’d write down my thought process to resolve the problem, in hopes it might be useful or provide insights to other people. The problem specification: My first thought is that the lawn is of a rectangular shape. That screams matrix (2 dimension…
