What is an "algorithm"? Explain the keywords that you can't hear anymore!
What is an algorithm? "Calculation procedure / method"!
An "algorithm" is simply a "procedure or calculation method". To put it more roughly, it can be said to be a "way".
In the first place, a computer is translated into Japanese as an "electronic computer". In other words, computers are there to do calculations that are too time-consuming or cumbersome for humans to do.
The "calculation procedure and method" that the computer is made to do at that time is the "algorithm."
The important thing is that there are many ways (algorithms) to reach a certain result.
However, if the final result is the same, it would be helpful if you could calculate efficiently and quickly.
So if you have several algorithms, the one that can calculate more efficiently is better.
Think of your computer as a "cooking friend"
Imagine a case where you ask a friend to make curry to make the story easier to understand. Think of your friends (people who cook for you) as computers and how you cook as an algorithm.
Unfortunately, computers don't do their jobs for themselves.
For example, you're a friend who has never stood in the kitchen alone and can't decide what to do. So I have to teach my friends how to make curry (algorithm).
There are many ways to make curry, but there are also efficient and bad ways to make it.
For example, when you want to soften vegetables, you usually cut them and then boil them all together. But in theory, you can boil the cut pieces one by one.
This method will eventually soften all the vegetables (same calculation results), but not enough time. In other words, it is an inefficient method (inefficient algorithm).
Typical algorithm "Binary search method"
Now let's talk about computer algorithms. There are various algorithms, but the most typical one is the "binary search method".
For example, suppose you want to know how old a relative's child was.
One possible method is to ask "0 years old?", "Different", "1 year old?", "Different" in order from 0 years old.
This method is the simplest, but if your relative's child was 18 years old, you would have to ask the question 19 times. It's a little annoying.
To do this efficiently, ask questions from the middle (10 years old). If you ask "10 years old?" And say "it's bigger than that", you don't have to ask anymore between 0 and 10 years old. Half of the possibilities disappear at once, so it's much more efficient than the previous method.
In this way, the method of examining by dividing in half is an algorithm called "binary search method". In the case of a relative's child, you can ask up to 19 questions, but when you calculate with a computer, the digits are completely different.
In that case, it's not enough to be "troublesome". Therefore, research on algorithms that are as efficient as possible is being pursued every day.
Algorithms used in various parts of life
Algorithms are used everywhere in our lives.
For example, car navigation and transfer information.
At the center, if there are several patterns of ways to go from point A to point B, which route is the fastest? It is an algorithm that calculates.
Then, "Google's search algorithm" that sometimes makes news noise. This is a calculation method (algorithm) for which page is displayed at the top for words searched by Google.
For site operators, the higher this order, the better. Most people look at the pages in order from the top. On the contrary, you will often not see the bottom page very often.
I want as many people as possible to see the site I created. In that case, I'm curious about how Google decides the ranking.
Google doesn't publish a detailed breakdown of its search algorithms, and it makes significant changes from time to time.
That's why the news is, "The algorithm has changed! What's next?" "Maybe my site will go down (up)!"
Thank you it is very good
ReplyDelete