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.
[477, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 19, 340]
A:
[19, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 477, 340]