Introduction  Countless times, we have heard our Maths teachers specify different methods for solving a particular problem. The goal is to use short and easy techniques instead of lengthy, complicated ones.  Likewise, while writing code, it is a good practice ...