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.

Q: [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]
****
Q: [96, 406, 483, 91, 481, 420, 105, 352, 441, 422, 116, 57, 74, 100, 97, 103, 166, 64, 401, 408]

A: [96, 406, 57, 91, 481, 420, 105, 352, 441, 422, 116, 483, 74, 100, 97, 103, 166, 64, 401, 408]
****
Q: [280, 30, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 408, 121, 225, 212]

A:
[280, 408, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 30, 121, 225, 212]
****