Detailed Instructions: 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.
Problem:[146, 354, 466, 465, 481, 390, 64, 176, 347, 420, 459, 386, 299, 468, 15, 161, 18, 422, 300, 188]
Solution:
[146, 354, 466, 465, 15, 390, 64, 176, 347, 420, 459, 386, 299, 468, 481, 161, 18, 422, 300, 188]