結果 : explain the building blocks of algorithm with example