Concept Flow - Inverting a dictionary
Start with original dictionary
For each key-value pair
Swap key and value
Add swapped pair to new dictionary
Repeat for all pairs
Return inverted dictionary
End
We take each key and value from the original dictionary, swap them, and put them into a new dictionary until all pairs are processed.