Basic Algorithm Structures
Basic Algorithm Structures When building a house, the first thing to consider is the foundational construction, such as the foundation, concrete beams, and wall structure. The same concept applies when building an algorithm—you must understand its basic structure. There are three fundamental structures of algorithms: sequential , selection , and looping . Sequential The sequential structure is where an algorithm is built with steps (instructions/commands) that are executed in order, without skipping any. For instance, if an algorithm has 20 steps, all must be performed sequentially from s…






