Skip to content

Commit 678ee72

Browse files
committed
fixing algorithm heap wrong translation
1 parent cfea443 commit 678ee72

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎reference/algorithm.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ ranges::sort(pv, {}, &Person::name);
385385
- `*a` は、`pop_heap()` で削除したり、`push_heap()` で要素を追加する操作が O(log(N)) でできる
386386
387387
これらの特性はプライオリティキューで有用である。
388-
`make_heap()` は heap の中の範囲を変換し、`sort_heap()` はソート済みシーケンスの中にあるヒープを turn する。
388+
`make_heap()` は範囲をヒープに変換し、`sort_heap()` はヒープをソート済みシーケンスに変換する。
389389
390390
| 名前 | 説明 | 対応バージョン |
391391
|-------------------------------------------------|-----------------------------------|-------|

0 commit comments

Comments
 (0)