Hi, Everyone! This is @neko9!!
Today we will study the alignment algorithm.(It's called "sorting"!)
Let's learn three typical sorts.
➀Bubble Sort
Compare the values of adjacent elements and replace them if they are in the opposite order of magnitude.
This is repeated until there is no need for replacement and comparison.
↓Like this
②Quick Sort
An intermediate standard value is determined, and the classification is divided into two categories: one for elements with values greater than the standard value and one for elements with values less than the standard value.
Next, the same process is repeated for each of these categories.
↓Like this
③Merge Sort
It is a method of repeatedly dividing and merging data to finally create a single aligned sequence of data.
↓Like this
How was it?
See you in the next Today's Study!
@neko9 さん、こんにちは。
@japansteemitがこの記事をアップボートしました。
tomoyan.witnessに投票お願いします👇
https://steemitwallet.com/~witnesses
💡 アップボートガイド 💡
分からない事は何でも質問して下さい🙇
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit