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

[402, 163, 200, 51, 25, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 452, 323, 315, 70, 177]
[402, 163, 200, 51, 452, 229, 74, 242, 123, 267, 167, 91, 50, 166, 184, 25, 323, 315, 70, 177]

[459, 172, 489, 263, 163, 437, 246, 265, 466, 146, 332, 350, 236, 401, 467, 104, 130, 230, 468, 74]

[459, 172, 74, 263, 163, 437, 246, 265, 466, 146, 332, 350, 236, 401, 467, 104, 130, 230, 468, 489]