Skip to content

Create InsertionSort.java - #7

Merged
kou-ukai merged 1 commit into
kou-ukai:takeyamafrom
AotoTakeyama:master
Jun 11, 2019
Merged

kou-ukai merged 1 commit into
kou-ukai:takeyamafrom
AotoTakeyama:master

Conversation

@AotoTakeyama

Copy link
Copy Markdown
Collaborator

sortメソッドを実装しました。

sortメソッドの実装
*
*/
public class BubbleSort {
public class SelectionSort {

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

コンパイルエラーを直してからコミットするようにしてください。

@kou-ukai kou-ukai left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

昇順でお願いします。

@kou-ukai

kou-ukai commented Jun 3, 2019

Copy link
Copy Markdown
Owner

先ほどの「昇順で~」は誤りです。
Mainクラスが更新されていなかったので、間違えました。

@kou-ukai kou-ukai left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

比較条件を満たなさない場合、それ以降は並び替えが終わっているので、ループを抜けて問題ありません。
アプリではその部分がよく表現されていましたが、自分は気づきませんでした。

@kou-ukai
kou-ukai changed the base branch from master to takeyama June 11, 2019 02:25
@kou-ukai
kou-ukai merged commit 65189f8 into kou-ukai:takeyama Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants