The function of the first chapter in the calculation of the algorithm
First, what is an algorithm? Why is the algorithm worth studying? What does the algorithm do compared to other technologies used in the computer?
An algorithm is any well-defined calculation process that takes a set of values or values as input and produces a set of values or values as output. This algorithm is a sequence that converts the input into an output calculation step.
If each input instance algorithm is shut down with the correct output, the algorithm is called correct , and the correct algorithm solves the given computational problem. Note: An incorrect algorithm can be useful as long as its error rate is controllable, but we usually only care about the correct algorithm.
A data structure is a way to store and organize your information and is designed for easy access and modification. No single data structure is effective for all purposes, so it is important to know the advantages and limitations of several data structures.
Introduction to Algorithms reading notes--Chapter I.