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.
[145, 256, 227, 230, 158, 361, 400, 68, 148, 15, 86, 454, 450, 102, 154, 451, 205, 199, 376, 364]
A:
[145, 256, 227, 230, 158, 361, 400, 68, 148, 454, 86, 15, 450, 102, 154, 451, 205, 199, 376, 364]