Detailed Instructions: 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.
Problem:[120, 262, 66, 174, 202, 447, 193, 188, 307, 474, 69, 100, 338, 394, 487, 145, 348, 184, 358, 149]
Solution:
[120, 262, 487, 174, 202, 447, 193, 188, 307, 474, 69, 100, 338, 394, 66, 145, 348, 184, 358, 149]