Given a list of numbers, I want to sort them within 3 domains, replace all numbers in each domain with another number, and re-combine the numbers into a list of the original size (should be clear in the attached image). I think I have the first two steps figured out, but not the 3rd.
Any ideas?
Tags:
- Attachments:
-