I'll show you how to group multiple values together without creating custom structs. You'll learn pairs for two values and tuples for three or more. You'll see how pairs work with maps, how to sort collections of pairs, and when structured bindings make your code cleaner.
These tools let you return multiple values from functions and store related data together. By the end, you'll know when to use pairs versus tuples versus structs, and how to write code that handles grouped data naturally.