Logo

Programming-Idioms

History of Idiom 113 > diff from v3 to v4

Edit summary for version 4 by :
Linked to idiom #13 [Iterate over map keys and values]

Version 3

2016-01-05, 00:35:54

Version 4

2016-01-05, 09:50:34

Idiom #113 Iterate over map entries, ordered by values

Print each key k with its value x from an associative array mymap, in ascending order of x.
Note that multiple entries may exist for the same value x.

Idiom #113 Iterate over map entries, ordered by values

Print each key k with its value x from an associative array mymap, in ascending order of x.
Note that multiple entries may exist for the same value x.