1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-19 04:52:13 +02:00

Merge pull request #3323 from ankushagarwal/patch-2

[c++/en] efficient typo fix
This commit is contained in:
Andre Polykanine
2018-10-23 01:18:15 +03:00
committed by GitHub

View File

@@ -1057,7 +1057,7 @@ cout << ST.size(); // will print the size of set ST
// Output: 0
// NOTE: for duplicate elements we can use multiset
// NOTE: For hash sets, use unordered_set. They are more effecient but
// NOTE: For hash sets, use unordered_set. They are more efficient but
// do not preserve order. unordered_set is available since C++11
// Map
@@ -1086,7 +1086,7 @@ cout << it->second;
// Output: 26
// NOTE: For hash maps, use unordered_map. They are more effecient but do
// NOTE: For hash maps, use unordered_map. They are more efficient but do
// not preserve order. unordered_map is available since C++11.
///////////////////////////////////