Today's Study(Sort)steemCreated with Sketch.

in hive-161179 •  2 years ago 

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
image.png

②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
image.png

③Merge Sort
It is a method of repeatedly dividing and merging data to finally create a single aligned sequence of data.

↓Like this
image.png

How was it?
See you in the next Today's Study!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  


@neko9 さん、こんにちは。
@japansteemitがこの記事をアップボートしました。

tomoyan.witnessに投票お願いします👇

https://steemitwallet.com/~witnesses

💡 アップボートガイド 💡

分からない事は何でも質問して下さい🙇