When I'm writing any piece of code, I tend to keep two things in the front of my mind. First, am I solving the problem statement, is what I am doing providing the expected behaviour? Secondly, what ...