Skip to content

Commit

Permalink
doc: fix memory complexity of conainer_aware_adapter(mel_sort)
Browse files Browse the repository at this point in the history
  • Loading branch information
Morwenn committed Apr 20, 2021
1 parent 67460c6 commit 288efbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Sorters.md
Expand Up @@ -179,8 +179,8 @@ This sorter also has the following dedicated algorithms when used together with

| Container | Best | Average | Worst | Memory | Stable |
| ------------------- | ----------- | ----------- | ----------- | ----------- | ----------- |
| `std::list` | n | n log n | n log n | sqrt n | No |
| `std::forward_list` | n | n log n | n log n | sqrt n | No |
| `std::list` | n | n log n | n log n | n | No |
| `std::forward_list` | n | n log n | n log n | n | No |

None of the container-aware algorithms invalidates iterators.

Expand Down

0 comments on commit 288efbc

Please sign in to comment.