Algorithm, Pseudocode and Flowchart