<s>[INST] Write a concise definition for "algorithm". [/INST] An algorithm is a step-by-step procedure or set of rules for solving a problem or accomplishing a task, often used in computing and mathematical operations. </s>