Q: In this task, you are given a list of unique integers you need to swap the positions of maximum and minimum element in the list and return the updated list.
[381, 400, 249, 254, 218, 89, 138, 417, 447, 419, 83, 15, 108, 228, 307, 102, 226, 65, 320, 224]
A:
[381, 400, 249, 254, 218, 89, 138, 417, 15, 419, 83, 447, 108, 228, 307, 102, 226, 65, 320, 224]