# Keying and Grouping Convert a sequence to a dictionary, providing keys to individual elements or to use as grouping values. ## Topics ### Creating a Keyed Dictionary - ``Swift/Sequence/keyed(by:)`` - ``Swift/Sequence/keyed(by:resolvingConflictsWith:)`` ### Grouping Elements by Key - ``Swift/Sequence/grouped(by:)``