The simplest way to explain and algorithms is to think about a series of steps that need to be executed in a specific order take for example applying shampoo.
- choose shampoo type
- open shampoo bottle
- squirt shampoo into a hand
- lather shampoo in hands
- repeat
Can you see a problem in my algorithm? that’s right I am stuck in an infinite loop. O noooo! now what? if we would follow the steps in the shampoo bottle we would be showering for EVER! good thing intuition will tell you to stop after the third or fourth time around. The take away from an algorithm is to control the way its executed by following the order of the “code” this is known as the “program control” simple enough right?
I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More