Characteristics
– A set of step-by-step instructions or rules designed to perform a specific task or solve a problem
– Can be expressed in various forms such as code, flowcharts, or natural language
– Fundamental to computer programming and AI, enabling machines to process data and make decisions
– Can be simple (like sorting numbers) or complex (like training a neural network)
Examples
– Sorting algorithms like QuickSort or MergeSort that arrange data in order
– Search algorithms such as binary search that find items in a list efficiently
– Machine learning algorithms like decision trees or neural networks that learn patterns from data
– Recommendation algorithms used by streaming services to suggest movies or songs based on user preferences


