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.
[312, 141, 46, 17, 455, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]
A:
[312, 141, 46, 455, 17, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]