The first chapter algorithms work

       1. In the algorithm design and analysis course, I will use the C ++ programming, the programming specifications related links for https://www.jianshu.com/p/df03f2def39d.

       2. "mathematical beauty" Dr. Wu has mentioned in his book: "Mathematics is the best tool to solve information retrieval and natural language processing it very clear description of the practical problems in these areas and gives elegant solution. "this sentence is a side effect of the mapping algorithm in software development, because the algorithm is a mathematical model into a product of a program code. For example in the book mentioned: the use of graph traversal algorithm, you can start from any page automatically access to any Web page and store them together to complete this function program called web crawlers, also referred to in the literature " robot". As for the importance of the algorithm, Dr. Wu said in the book: "I think a good algorithm in the computer, it should be as simple to Acre 47s, effective, good reliability and easy to read (or easy to operate), and should not be a trick. "Take cryptography for example, in the field of modern cryptography involved or the industry are relatively wide, the lack of this discipline, people's life is stripped of security, and today's cryptography is mathematically accurate is derived by a mathematical algorithm based; furthermore it comes to global navigation, but also with our lives, and one of its key technologies: based on input from the end user the algorithm planning the shortest route or the quickest route on the map depends graph theory in computer science is a dynamic programming (dynamic programming) is.

        According to online articles, combined with Dr. "mathematical beauty", the role of general algorithm in software development is: the algorithm is the core of a program, is the soul of the program. Famous computer scientist, Turing Award winner Worth has proposed a formula: = data structure + algorithm program. Visible, the algorithm plays a very important role in the program. From the definition level, "Introduction to Algorithms" classic books, the authors believe that the algorithm is a series of calculation steps used to input data into the output; Hemopurification teacher of "C Programming", the algorithm is defined as methods and steps taken to solve a problem; "algorithm design and analysis -C ++ language to describe" a book, the authors believe that any algorithm is a special method for solving a class of problems, an algorithm is a step to solve a particular problem for kind of description. The above definition of the algorithm is biased towards theory, in actual software development projects, the algorithm is a way to achieve software requirements of the application code, but also reflect software development engineers logical thinking.

  The importance of the algorithm Needless to say, however, in the actual software development, encountered a problem, nor that its algorithm to solve more complex, the more our superb level. On the contrary, the program algorithm should be simple, clear, high efficiency. Albert Einstein once said: "Scientists should use the simplest means to reach their conclusions, and the exclusion of everything that can not be perceived by the senses." That is to say, simple is beautiful. We design algorithms to follow "Occam's Razor" (also known as "simple and effective principle"), this principle states that, do not waste more things to do with fewer things you can do the same thing. In the software development process, the same principles apply. It requires us to strive to make their code as simple and intuitive, with a relatively simple algorithm functions required by the user.

  Software on the end of the semester, there is no perfect vision, but based on the current consumer market and the problems I encountered in personal life, initial ideas about the search should be a class.

Guess you like

Origin www.cnblogs.com/Winlyee/p/11431866.html