An algorithm is like a recipe … there are different ways to cook or bake a sponge cake … I can add too eggs, sugar and butter and it will be delicious for some or I can reduce all and some will find it healthier or make it egg-less. So there are many ways to make something but the objective or aim should the same!
Now mathematical algorithms are designed to perform a task and to get to the end results I can use the lengthy bu stable way or make it shorter and faster and hence use less energy but I might get a small error here and there; however, in some cases that is acceptable. This is what happens with the introduction of a new iPhone or iPad they are changing the algorithm to recognise voice, have better image or better sound radio link … So getting clever and being able to manipulate numbers (what algorithm is all about) can save us hours and days of battery life!
Sorry for this long answer but I hope it is somehow useful 🙂