input
stringlengths 697
705
| output
listlengths 1
1
| id
stringlengths 41
41
|
|---|---|---|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [446, 271, 355, 181, 214, 338, 42, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 472]
Output:
|
[
"[446, 271, 355, 181, 214, 338, 472, 398, 235, 467, 57, 92, 56, 282, 99, 222, 420, 339, 50, 42]"
] |
task1151-3fd40977e29c467abe8e80309c35fc55
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [224, 386, 364, 432, 468, 46, 205, 257, 308, 388, 261, 73, 402, 291, 403, 165, 147, 276, 222, 111]
Output:
|
[
"[224, 386, 364, 432, 46, 468, 205, 257, 308, 388, 261, 73, 402, 291, 403, 165, 147, 276, 222, 111]"
] |
task1151-6b96e940fd7d474d8a73f7471b697cfc
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [477, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 19, 340]
Output:
|
[
"[19, 200, 377, 405, 450, 137, 333, 139, 195, 52, 445, 154, 61, 63, 441, 455, 308, 354, 477, 340]"
] |
task1151-37f2296cdcd04c7e89c533057d01a14f
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [82, 63, 259, 99, 462, 116, 461, 303, 58, 394, 358, 190, 218, 43, 108, 28, 174, 224, 492, 47]
Output:
|
[
"[82, 63, 259, 99, 462, 116, 461, 303, 58, 394, 358, 190, 218, 43, 108, 492, 174, 224, 28, 47]"
] |
task1151-1670a0680e134b04b745f994f9770a44
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [157, 434, 175, 478, 388, 418, 362, 274, 292, 343, 81, 493, 447, 146, 125, 190, 134, 468, 104, 101]
Output:
|
[
"[157, 434, 175, 478, 388, 418, 362, 274, 292, 343, 493, 81, 447, 146, 125, 190, 134, 468, 104, 101]"
] |
task1151-f6fdcf8039754e148c6884f0108fc874
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [281, 273, 442, 29, 37, 109, 31, 456, 306, 261, 269, 346, 220, 96, 371, 468, 224, 47, 377, 32]
Output:
|
[
"[281, 273, 442, 468, 37, 109, 31, 456, 306, 261, 269, 346, 220, 96, 371, 29, 224, 47, 377, 32]"
] |
task1151-9852c92cc53142ccb692fb03d29b3e0e
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [327, 436, 340, 301, 485, 256, 28, 448, 492, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]
Output:
|
[
"[327, 436, 340, 301, 485, 256, 492, 448, 28, 271, 276, 431, 130, 359, 91, 221, 319, 87, 157, 224]"
] |
task1151-50d217fea8c34d688e34d604c1d95c99
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [101, 177, 83, 449, 133, 367, 185, 153, 340, 274, 445, 96, 173, 65, 417, 426, 310, 459, 446, 211]
Output:
|
[
"[101, 177, 83, 449, 133, 367, 185, 153, 340, 274, 445, 96, 173, 459, 417, 426, 310, 65, 446, 211]"
] |
task1151-f7345f38e1294c91b0375359d7c7022f
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [164, 283, 457, 383, 34, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 489]
Output:
|
[
"[164, 283, 457, 383, 489, 309, 131, 94, 445, 438, 268, 246, 274, 91, 130, 216, 97, 258, 41, 34]"
] |
task1151-5e939402fc88438ab09beedf4ae06370
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 493, 142, 479, 163, 87, 162, 42, 128, 94]
Output:
|
[
"[189, 419, 469, 313, 257, 264, 297, 233, 291, 244, 77, 42, 142, 479, 163, 87, 162, 493, 128, 94]"
] |
task1151-1e635f79934546558bcb397b3a45daaf
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [97, 471, 102, 181, 390, 449, 261, 403, 413, 363, 26, 172, 113, 55, 74, 414, 422, 175, 433, 266]
Output:
|
[
"[97, 26, 102, 181, 390, 449, 261, 403, 413, 363, 471, 172, 113, 55, 74, 414, 422, 175, 433, 266]"
] |
task1151-a20f2cad4d3940beb52e1c1bad1e8a68
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [302, 130, 294, 366, 18, 311, 261, 263, 349, 160, 48, 323, 455, 177, 477, 384, 69, 377, 232, 107]
Output:
|
[
"[302, 130, 294, 366, 477, 311, 261, 263, 349, 160, 48, 323, 455, 177, 18, 384, 69, 377, 232, 107]"
] |
task1151-178dd70f6f374a61b909aff2626b8d51
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 488, 333, 273, 221, 51]
Output:
|
[
"[265, 475, 341, 442, 418, 161, 53, 69, 485, 331, 436, 450, 144, 455, 98, 51, 333, 273, 221, 488]"
] |
task1151-41b018ea9f9b4fdfb848ec23db26aa68
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [337, 269, 373, 439, 95, 446, 50, 333, 16, 318, 259, 342, 224, 461, 52, 171, 154, 193, 395, 122]
Output:
|
[
"[337, 269, 373, 439, 95, 446, 50, 333, 461, 318, 259, 342, 224, 16, 52, 171, 154, 193, 395, 122]"
] |
task1151-4dced113d4c246dd885302e98aaf24a1
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [492, 388, 498, 400, 55, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]
Output:
|
[
"[492, 388, 55, 400, 498, 351, 371, 182, 125, 231, 174, 60, 227, 398, 237, 143, 324, 252, 358, 209]"
] |
task1151-dd4795a1412a4999812b3cec93fa994a
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [152, 116, 100, 375, 391, 303, 242, 390, 269, 470, 277, 35, 184, 350, 292, 347, 441, 29, 262, 171]
Output:
|
[
"[152, 116, 100, 375, 391, 303, 242, 390, 269, 29, 277, 35, 184, 350, 292, 347, 441, 470, 262, 171]"
] |
task1151-02647c6d57874502a6a3359ceb4b0eef
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [125, 111, 199, 461, 13, 44, 324, 292, 51, 166, 14, 223, 228, 331, 334, 180, 304, 188, 267, 367]
Output:
|
[
"[125, 111, 199, 13, 461, 44, 324, 292, 51, 166, 14, 223, 228, 331, 334, 180, 304, 188, 267, 367]"
] |
task1151-ba1b5ed9e9bc4c7ea0c3fa44134e7885
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [402, 205, 172, 213, 11, 123, 489, 47, 283, 158, 291, 63, 77, 246, 463, 103, 372, 167, 245, 498]
Output:
|
[
"[402, 205, 172, 213, 498, 123, 489, 47, 283, 158, 291, 63, 77, 246, 463, 103, 372, 167, 245, 11]"
] |
task1151-9f0a186e7e5e499f86214e660bd2ea23
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [37, 209, 296, 193, 425, 406, 464, 350, 100, 204, 67, 357, 132, 99, 127, 183, 338, 444, 169, 358]
Output:
|
[
"[464, 209, 296, 193, 425, 406, 37, 350, 100, 204, 67, 357, 132, 99, 127, 183, 338, 444, 169, 358]"
] |
task1151-26d675e77308458bade30878533cd8d0
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [176, 53, 364, 186, 192, 406, 144, 349, 275, 354, 397, 60, 161, 311, 369, 342, 170, 248, 252, 472]
Output:
|
[
"[176, 472, 364, 186, 192, 406, 144, 349, 275, 354, 397, 60, 161, 311, 369, 342, 170, 248, 252, 53]"
] |
task1151-db4bf2ff0245474db62462c33107ddf7
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [221, 493, 17, 466, 353, 191, 141, 343, 347, 247, 78, 110, 342, 228, 492, 392, 61, 106, 104, 113]
Output:
|
[
"[221, 17, 493, 466, 353, 191, 141, 343, 347, 247, 78, 110, 342, 228, 492, 392, 61, 106, 104, 113]"
] |
task1151-c9eea4cf19fb4463b14d950cb60049bb
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [60, 52, 317, 109, 108, 34, 368, 195, 398, 353, 283, 342, 155, 84, 292, 67, 237, 123, 119, 469]
Output:
|
[
"[60, 52, 317, 109, 108, 469, 368, 195, 398, 353, 283, 342, 155, 84, 292, 67, 237, 123, 119, 34]"
] |
task1151-91416aede84c475798fe1a3deccdcbdd
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [406, 12, 301, 282, 125, 192, 14, 52, 402, 112, 232, 270, 86, 169, 434, 69, 379, 200, 165, 263]
Output:
|
[
"[406, 434, 301, 282, 125, 192, 14, 52, 402, 112, 232, 270, 86, 169, 12, 69, 379, 200, 165, 263]"
] |
task1151-0d17cc71b5e84cae85b37a2ff324c49c
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 484, 69, 22, 231, 349]
Output:
|
[
"[292, 152, 415, 277, 64, 30, 247, 444, 25, 348, 178, 167, 122, 347, 131, 22, 69, 484, 231, 349]"
] |
task1151-9a8e38bc045e4f268017eda2fa8df9fe
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 30, 116, 287, 96, 420, 475, 382, 186]
Output:
|
[
"[134, 286, 251, 323, 396, 64, 294, 191, 75, 189, 386, 455, 475, 116, 287, 96, 420, 30, 382, 186]"
] |
task1151-0977a765740348a7b5c8bf6068ae190e
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [23, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 481, 361, 393, 375, 208, 279, 127]
Output:
|
[
"[481, 333, 423, 428, 337, 134, 388, 129, 293, 364, 92, 246, 275, 23, 361, 393, 375, 208, 279, 127]"
] |
task1151-ec674995553d4bcda1c0afe0e8d8b5f5
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 494, 261, 475, 127, 10, 105, 310, 287, 354]
Output:
|
[
"[187, 400, 482, 294, 130, 167, 161, 292, 268, 153, 275, 10, 261, 475, 127, 494, 105, 310, 287, 354]"
] |
task1151-51d3aa727ef341e2a13a25f574de0d72
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [339, 229, 429, 239, 321, 334, 115, 36, 456, 269, 402, 483, 230, 453, 378, 262, 299, 227, 238, 268]
Output:
|
[
"[339, 229, 429, 239, 321, 334, 115, 483, 456, 269, 402, 36, 230, 453, 378, 262, 299, 227, 238, 268]"
] |
task1151-b68790ccff2647a8bfb9eb71cc98d178
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [227, 268, 136, 332, 349, 445, 83, 444, 359, 52, 403, 258, 263, 405, 431, 86, 287, 446, 126, 105]
Output:
|
[
"[227, 268, 136, 332, 349, 445, 83, 444, 359, 446, 403, 258, 263, 405, 431, 86, 287, 52, 126, 105]"
] |
task1151-5b1c9cc48c214223b8b3b1b17e9761c5
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [162, 27, 140, 274, 414, 376, 104, 159, 418, 155, 493, 151, 422, 335, 187, 292, 217, 31, 248, 84]
Output:
|
[
"[162, 493, 140, 274, 414, 376, 104, 159, 418, 155, 27, 151, 422, 335, 187, 292, 217, 31, 248, 84]"
] |
task1151-7c201d4043d94bde80df9cfe9a4a33a6
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [51, 478, 19, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 481]
Output:
|
[
"[51, 478, 481, 347, 243, 112, 95, 326, 321, 23, 230, 161, 74, 99, 409, 440, 405, 377, 317, 19]"
] |
task1151-7fd4e5a4a69f4bcea28cbcc6a4307b9a
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [180, 328, 143, 398, 304, 22, 357, 214, 233, 334, 242, 477, 55, 281, 497, 71, 173, 381, 314, 336]
Output:
|
[
"[180, 328, 143, 398, 304, 497, 357, 214, 233, 334, 242, 477, 55, 281, 22, 71, 173, 381, 314, 336]"
] |
task1151-535bbec7c257470981c1cc904b9116b5
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [146, 354, 466, 465, 481, 390, 64, 176, 347, 420, 459, 386, 299, 468, 15, 161, 18, 422, 300, 188]
Output:
|
[
"[146, 354, 466, 465, 15, 390, 64, 176, 347, 420, 459, 386, 299, 468, 481, 161, 18, 422, 300, 188]"
] |
task1151-9d87f4a8fa8b43448daf68257af1f508
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [263, 328, 395, 270, 216, 437, 267, 470, 350, 435, 136, 84, 360, 427, 31, 144, 68, 188, 207, 29]
Output:
|
[
"[263, 328, 395, 270, 216, 437, 267, 29, 350, 435, 136, 84, 360, 427, 31, 144, 68, 188, 207, 470]"
] |
task1151-76d3afa6b82246b6847e5c1943ebeaf7
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [83, 244, 378, 130, 291, 190, 199, 474, 112, 225, 109, 450, 228, 439, 143, 227, 394, 47, 203, 246]
Output:
|
[
"[83, 244, 378, 130, 291, 190, 199, 47, 112, 225, 109, 450, 228, 439, 143, 227, 394, 474, 203, 246]"
] |
task1151-f31afc22f452495c8a2c8d12d6a2ef87
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [74, 53, 246, 327, 356, 92, 456, 452, 29, 209, 396, 463, 210, 324, 225, 89, 286, 122, 437, 118]
Output:
|
[
"[74, 53, 246, 327, 356, 92, 456, 452, 463, 209, 396, 29, 210, 324, 225, 89, 286, 122, 437, 118]"
] |
task1151-106bd1b8b70a40adb855c930ed5e7adc
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [11, 396, 382, 413, 109, 386, 294, 389, 378, 132, 230, 358, 385, 371, 176, 242, 423, 313, 436, 272]
Output:
|
[
"[436, 396, 382, 413, 109, 386, 294, 389, 378, 132, 230, 358, 385, 371, 176, 242, 423, 313, 11, 272]"
] |
task1151-58e6bc122d2043d5b88c21eb8d9c925f
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [280, 30, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 408, 121, 225, 212]
Output:
|
[
"[280, 408, 116, 130, 278, 303, 343, 230, 168, 140, 330, 216, 58, 373, 156, 94, 30, 121, 225, 212]"
] |
task1151-e38bfb73b9e34fc19cf43efc8c2877d4
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [32, 14, 400, 228, 387, 277, 427, 108, 481, 479, 154, 432, 398, 142, 115, 173, 286, 267, 356, 183]
Output:
|
[
"[32, 481, 400, 228, 387, 277, 427, 108, 14, 479, 154, 432, 398, 142, 115, 173, 286, 267, 356, 183]"
] |
task1151-76c6c4aaf3764b79a2138d10111af52b
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [420, 59, 180, 32, 111, 494, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]
Output:
|
[
"[420, 59, 180, 494, 111, 32, 38, 282, 435, 432, 147, 422, 414, 260, 51, 332, 343, 207, 362, 474]"
] |
task1151-aa9a8b56a4c54353a968971b3c57a330
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [77, 481, 445, 178, 275, 58, 42, 168, 92, 136, 390, 498, 133, 333, 396, 85, 243, 283, 323, 322]
Output:
|
[
"[77, 481, 445, 178, 275, 58, 498, 168, 92, 136, 390, 42, 133, 333, 396, 85, 243, 283, 323, 322]"
] |
task1151-ba19f5f6c682409fa76b47b179331c26
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [76, 66, 180, 140, 291, 342, 333, 13, 343, 279, 206, 292, 290, 275, 398, 258, 139, 271, 236, 21]
Output:
|
[
"[76, 66, 180, 140, 291, 342, 333, 398, 343, 279, 206, 292, 290, 275, 13, 258, 139, 271, 236, 21]"
] |
task1151-d1a61a4c58464fdba8b84dee0364317a
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 489, 275, 18, 320, 442, 318, 303, 104, 472, 29]
Output:
|
[
"[165, 22, 87, 424, 154, 434, 433, 149, 478, 426, 18, 275, 489, 320, 442, 318, 303, 104, 472, 29]"
] |
task1151-71a7aead3c9449f688d243db00d2f7b8
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [258, 62, 343, 490, 233, 496, 293, 255, 271, 334, 398, 184, 217, 305, 246, 416, 261, 118, 241, 260]
Output:
|
[
"[258, 496, 343, 490, 233, 62, 293, 255, 271, 334, 398, 184, 217, 305, 246, 416, 261, 118, 241, 260]"
] |
task1151-59928ff3d8124000b3b954454b772c58
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [489, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 12, 57, 332, 194]
Output:
|
[
"[12, 53, 198, 184, 370, 132, 322, 74, 279, 186, 316, 158, 460, 25, 126, 295, 489, 57, 332, 194]"
] |
task1151-55dbe25af9514787aff068edb91f4c85
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [190, 62, 334, 175, 454, 358, 25, 495, 109, 282, 346, 244, 150, 96, 341, 128, 431, 120, 238, 416]
Output:
|
[
"[190, 62, 334, 175, 454, 358, 495, 25, 109, 282, 346, 244, 150, 96, 341, 128, 431, 120, 238, 416]"
] |
task1151-0f0eb85c5891462a8f560cb819b2441f
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [265, 209, 433, 482, 412, 249, 19, 456, 256, 334, 50, 223, 458, 135, 65, 282, 309, 405, 274, 430]
Output:
|
[
"[265, 209, 433, 19, 412, 249, 482, 456, 256, 334, 50, 223, 458, 135, 65, 282, 309, 405, 274, 430]"
] |
task1151-9ecd2457ee0340c5b05e099e89d92877
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [60, 83, 17, 71, 59, 325, 38, 236, 206, 52, 25, 399, 177, 386, 180, 123, 466, 366, 444, 237]
Output:
|
[
"[60, 83, 466, 71, 59, 325, 38, 236, 206, 52, 25, 399, 177, 386, 180, 123, 17, 366, 444, 237]"
] |
task1151-814f6efc1bd8428f9cc34a3b8e503915
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [248, 260, 272, 62, 193, 361, 439, 491, 139, 335, 351, 161, 56, 190, 51, 384, 106, 20, 385, 202]
Output:
|
[
"[248, 260, 272, 62, 193, 361, 439, 20, 139, 335, 351, 161, 56, 190, 51, 384, 106, 491, 385, 202]"
] |
task1151-f340d94b96ab4dc5a2472cf2190c54fd
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 489, 464, 48, 13, 293, 136, 482, 407, 336, 415]
Output:
|
[
"[178, 290, 466, 27, 49, 124, 287, 462, 459, 486, 13, 464, 48, 489, 293, 136, 482, 407, 336, 415]"
] |
task1151-7bac484bc5be475a9776566434afbbd5
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [339, 40, 321, 337, 489, 221, 228, 415, 267, 120, 408, 287, 363, 317, 99, 193, 262, 474, 448, 443]
Output:
|
[
"[339, 489, 321, 337, 40, 221, 228, 415, 267, 120, 408, 287, 363, 317, 99, 193, 262, 474, 448, 443]"
] |
task1151-b6017fac44e346d092a44f419ac4bf62
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [15, 100, 389, 471, 129, 112, 68, 70, 423, 81, 481, 334, 67, 80, 277, 93, 387, 391, 161, 434]
Output:
|
[
"[481, 100, 389, 471, 129, 112, 68, 70, 423, 81, 15, 334, 67, 80, 277, 93, 387, 391, 161, 434]"
] |
task1151-cd4e3dfd3dd849f2a23a2438bf8e53ab
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [48, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 494, 171, 282, 120, 473, 474]
Output:
|
[
"[494, 373, 251, 432, 93, 83, 294, 360, 168, 78, 239, 107, 293, 396, 48, 171, 282, 120, 473, 474]"
] |
task1151-01f8507b62a741159197f2e3c62b94f8
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [463, 228, 473, 145, 347, 39, 90, 233, 455, 128, 219, 239, 336, 467, 69, 493, 339, 457, 120, 354]
Output:
|
[
"[463, 228, 473, 145, 347, 493, 90, 233, 455, 128, 219, 239, 336, 467, 69, 39, 339, 457, 120, 354]"
] |
task1151-6e366f4312fd4af3b88b3f62a006701c
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [147, 345, 70, 396, 326, 125, 55, 221, 43, 223, 122, 241, 374, 372, 487, 210, 488, 276, 308, 218]
Output:
|
[
"[147, 345, 70, 396, 326, 125, 55, 221, 488, 223, 122, 241, 374, 372, 487, 210, 43, 276, 308, 218]"
] |
task1151-a85ac6124ede4dde89eac00c3d7ab4c5
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [424, 356, 298, 311, 433, 419, 23, 69, 27, 499, 108, 140, 190, 442, 196, 383, 445, 93, 20, 490]
Output:
|
[
"[424, 356, 298, 311, 433, 419, 23, 69, 27, 20, 108, 140, 190, 442, 196, 383, 445, 93, 499, 490]"
] |
task1151-31974d54880f4d019a4eaab555896ee9
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [373, 11, 221, 335, 379, 78, 180, 303, 453, 359, 80, 298, 100, 433, 428, 96, 125, 45, 48, 139]
Output:
|
[
"[373, 453, 221, 335, 379, 78, 180, 303, 11, 359, 80, 298, 100, 433, 428, 96, 125, 45, 48, 139]"
] |
task1151-fcc8c76c79bb42f5baf6f48571514615
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [402, 206, 116, 203, 177, 470, 131, 168, 396, 66, 450, 225, 460, 314, 166, 426, 209, 467, 267, 389]
Output:
|
[
"[402, 206, 116, 203, 177, 66, 131, 168, 396, 470, 450, 225, 460, 314, 166, 426, 209, 467, 267, 389]"
] |
task1151-240081b1667349b98e806b5ca72596a9
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [335, 387, 238, 71, 92, 382, 227, 348, 383, 475, 117, 181, 345, 288, 23, 397, 39, 273, 343, 202]
Output:
|
[
"[335, 387, 238, 71, 92, 382, 227, 348, 383, 23, 117, 181, 345, 288, 475, 397, 39, 273, 343, 202]"
] |
task1151-344e2576966c4b4ba809ae859d8c7a65
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [304, 238, 225, 39, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 464, 127, 63]
Output:
|
[
"[304, 238, 225, 464, 179, 446, 165, 139, 69, 450, 51, 374, 188, 193, 68, 259, 433, 39, 127, 63]"
] |
task1151-75caffd47f3e4980a2ea48fd978f6256
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [79, 236, 131, 353, 317, 265, 389, 82, 432, 453, 301, 226, 195, 91, 498, 316, 315, 172, 442, 439]
Output:
|
[
"[498, 236, 131, 353, 317, 265, 389, 82, 432, 453, 301, 226, 195, 91, 79, 316, 315, 172, 442, 439]"
] |
task1151-53783e26476341f5acc786b0529ecd40
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [471, 416, 38, 475, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 29]
Output:
|
[
"[471, 416, 38, 29, 92, 200, 179, 165, 124, 194, 163, 55, 292, 161, 315, 177, 120, 91, 128, 475]"
] |
task1151-f0671d179caa43119e4769215a7b7256
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [329, 163, 460, 187, 365, 470, 317, 350, 354, 431, 378, 271, 223, 294, 48, 118, 450, 151, 337, 284]
Output:
|
[
"[329, 163, 460, 187, 365, 48, 317, 350, 354, 431, 378, 271, 223, 294, 470, 118, 450, 151, 337, 284]"
] |
task1151-528bc5b1645e47f6bbdf5c76db95f56d
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [114, 363, 306, 103, 146, 131, 217, 420, 350, 66, 195, 442, 313, 153, 235, 18, 127, 204, 247, 291]
Output:
|
[
"[114, 363, 306, 103, 146, 131, 217, 420, 350, 66, 195, 18, 313, 153, 235, 442, 127, 204, 247, 291]"
] |
task1151-727e2f68c6ac42fc8e4638b8460560a0
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 470, 358, 266, 214, 145, 115, 380, 66, 20, 136]
Output:
|
[
"[282, 38, 402, 29, 79, 187, 434, 308, 398, 386, 20, 358, 266, 214, 145, 115, 380, 66, 470, 136]"
] |
task1151-b2dfdf7e210f4963acf5ba5d66b5a51c
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [312, 141, 46, 17, 455, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]
Output:
|
[
"[312, 141, 46, 455, 17, 129, 163, 108, 176, 446, 407, 149, 57, 221, 402, 208, 198, 228, 329, 64]"
] |
task1151-644956e7461d4105b6338e646beac7a9
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [347, 362, 411, 393, 124, 247, 476, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 87, 263]
Output:
|
[
"[347, 362, 411, 393, 124, 247, 87, 248, 339, 363, 176, 401, 138, 388, 379, 291, 389, 455, 476, 263]"
] |
task1151-bd9905f378e24c9d8c69535a4df3f606
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [331, 255, 149, 439, 494, 421, 356, 361, 394, 496, 342, 396, 137, 364, 189, 47, 174, 353, 220, 219]
Output:
|
[
"[331, 255, 149, 439, 494, 421, 356, 361, 394, 47, 342, 396, 137, 364, 189, 496, 174, 353, 220, 219]"
] |
task1151-cb3686e94a9b46709203104ea5e67c03
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [224, 469, 451, 462, 389, 258, 265, 276, 470, 366, 128, 432, 36, 133, 159, 213, 317, 467, 248, 89]
Output:
|
[
"[224, 469, 451, 462, 389, 258, 265, 276, 36, 366, 128, 432, 470, 133, 159, 213, 317, 467, 248, 89]"
] |
task1151-8d2b94733b4444ce96367e8d2e609a9a
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [243, 171, 26, 446, 109, 477, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]
Output:
|
[
"[243, 171, 477, 446, 109, 26, 285, 67, 193, 123, 335, 288, 357, 135, 51, 464, 257, 447, 208, 240]"
] |
task1151-781b2388ec7a41deaaa66e9fe649fe63
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [480, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 62, 440, 191, 384, 442]
Output:
|
[
"[62, 194, 225, 247, 223, 287, 237, 418, 83, 73, 170, 91, 118, 325, 211, 480, 440, 191, 384, 442]"
] |
task1151-d361d7a8c7b043b9a0848836e50c1913
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [447, 60, 249, 247, 486, 14, 193, 173, 451, 144, 12, 405, 308, 202, 132, 65, 160, 184, 348, 203]
Output:
|
[
"[447, 60, 249, 247, 12, 14, 193, 173, 451, 144, 486, 405, 308, 202, 132, 65, 160, 184, 348, 203]"
] |
task1151-6b42e79b9d774aeba7f327bdb659ba62
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [25, 198, 30, 463, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]
Output:
|
[
"[463, 198, 30, 25, 163, 442, 215, 415, 443, 402, 275, 82, 111, 137, 63, 421, 102, 305, 118, 404]"
] |
task1151-c3a30e300206407bb7fd488b35c1a0cd
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [96, 406, 483, 91, 481, 420, 105, 352, 441, 422, 116, 57, 74, 100, 97, 103, 166, 64, 401, 408]
Output:
|
[
"[96, 406, 57, 91, 481, 420, 105, 352, 441, 422, 116, 483, 74, 100, 97, 103, 166, 64, 401, 408]"
] |
task1151-d6484caafc5c4b1ab483c333a2992d92
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [208, 423, 249, 120, 319, 473, 313, 294, 374, 495, 271, 497, 474, 379, 50, 270, 68, 26, 116, 260]
Output:
|
[
"[208, 423, 249, 120, 319, 473, 313, 294, 374, 495, 271, 26, 474, 379, 50, 270, 68, 497, 116, 260]"
] |
task1151-ca8fd9cdbd304b4eaaa42b42e07d3832
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [124, 237, 236, 395, 482, 404, 446, 420, 132, 280, 310, 155, 306, 143, 44, 10, 235, 77, 15, 194]
Output:
|
[
"[124, 237, 236, 395, 10, 404, 446, 420, 132, 280, 310, 155, 306, 143, 44, 482, 235, 77, 15, 194]"
] |
task1151-cab3d1c26ffa4af281f78dad108b85de
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [145, 256, 227, 230, 158, 361, 400, 68, 148, 15, 86, 454, 450, 102, 154, 451, 205, 199, 376, 364]
Output:
|
[
"[145, 256, 227, 230, 158, 361, 400, 68, 148, 454, 86, 15, 450, 102, 154, 451, 205, 199, 376, 364]"
] |
task1151-235566d25c1449f1a77c28405a0116cc
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [378, 396, 254, 444, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 69, 76]
Output:
|
[
"[378, 396, 254, 69, 434, 114, 369, 100, 122, 360, 312, 385, 165, 387, 416, 321, 374, 341, 444, 76]"
] |
task1151-bce5e8464ede4055b0adb3e44ab727a6
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [140, 445, 344, 121, 328, 36, 73, 139, 244, 416, 309, 192, 319, 134, 412, 93, 195, 355, 76, 279]
Output:
|
[
"[140, 36, 344, 121, 328, 445, 73, 139, 244, 416, 309, 192, 319, 134, 412, 93, 195, 355, 76, 279]"
] |
task1151-7d49e97a5114416e84a66061a8163d40
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [311, 319, 362, 321, 22, 213, 35, 453, 117, 287, 461, 66, 234, 37, 250, 470, 108, 25, 334, 387]
Output:
|
[
"[311, 319, 362, 321, 470, 213, 35, 453, 117, 287, 461, 66, 234, 37, 250, 22, 108, 25, 334, 387]"
] |
task1151-02e3730bbe7842b4ae0d8e0aad4efe40
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [176, 166, 493, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 14, 182]
Output:
|
[
"[176, 166, 14, 27, 119, 265, 62, 317, 489, 443, 455, 488, 461, 189, 142, 351, 404, 187, 493, 182]"
] |
task1151-643ccf1aaca740508f9d32ea1ce39a3d
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [81, 11, 403, 239, 205, 314, 133, 225, 432, 493, 476, 322, 104, 145, 446, 117, 276, 252, 255, 434]
Output:
|
[
"[81, 493, 403, 239, 205, 314, 133, 225, 432, 11, 476, 322, 104, 145, 446, 117, 276, 252, 255, 434]"
] |
task1151-298472c50c4245f6b7479ca3ddd520ea
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [175, 226, 366, 453, 182, 275, 23, 361, 118, 387, 90, 312, 310, 227, 404, 230, 337, 111, 66, 420]
Output:
|
[
"[175, 226, 366, 23, 182, 275, 453, 361, 118, 387, 90, 312, 310, 227, 404, 230, 337, 111, 66, 420]"
] |
task1151-e8187a384aa94c06a2d0ffb5999d7cf6
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [81, 268, 174, 47, 16, 230, 165, 137, 291, 457, 188, 413, 36, 238, 454, 284, 115, 378, 356, 135]
Output:
|
[
"[81, 268, 174, 47, 457, 230, 165, 137, 291, 16, 188, 413, 36, 238, 454, 284, 115, 378, 356, 135]"
] |
task1151-d8ac082e60b24ad0bea9164fe1a21deb
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [352, 19, 343, 202, 392, 372, 496, 393, 355, 178, 310, 399, 183, 281, 425, 62, 76, 82, 438, 249]
Output:
|
[
"[352, 496, 343, 202, 392, 372, 19, 393, 355, 178, 310, 399, 183, 281, 425, 62, 76, 82, 438, 249]"
] |
task1151-816ea7879a8f43e085e3246fdb08df89
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [338, 79, 27, 229, 433, 471, 328, 497, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]
Output:
|
[
"[338, 79, 497, 229, 433, 471, 328, 27, 474, 322, 424, 42, 341, 393, 32, 479, 280, 493, 428, 103]"
] |
task1151-948d68d1d20542beba4434ae4159db25
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [244, 406, 385, 314, 323, 281, 46, 121, 195, 148, 124, 452, 414, 24, 296, 458, 301, 283, 293, 400]
Output:
|
[
"[244, 406, 385, 314, 323, 281, 46, 121, 195, 148, 124, 452, 414, 458, 296, 24, 301, 283, 293, 400]"
] |
task1151-ea2bdd56b9c64ddf89b77606e632384c
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [170, 498, 490, 349, 135, 345, 287, 182, 394, 23, 97, 14, 418, 274, 285, 78, 147, 215, 104, 387]
Output:
|
[
"[170, 14, 490, 349, 135, 345, 287, 182, 394, 23, 97, 498, 418, 274, 285, 78, 147, 215, 104, 387]"
] |
task1151-d63bb6f42eaf4a81a19060c33937c883
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 16, 70, 190, 449, 43, 356, 156, 175, 294]
Output:
|
[
"[53, 400, 447, 274, 435, 432, 46, 51, 317, 404, 442, 449, 70, 190, 16, 43, 356, 156, 175, 294]"
] |
task1151-b758ef85ce864182b59a681b964ebee7
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [133, 356, 66, 449, 397, 410, 374, 329, 279, 40, 169, 82, 75, 19, 186, 65, 61, 414, 243, 30]
Output:
|
[
"[133, 356, 66, 19, 397, 410, 374, 329, 279, 40, 169, 82, 75, 449, 186, 65, 61, 414, 243, 30]"
] |
task1151-2d7da6b6f840415eb360e44da93a9104
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [175, 495, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 23, 110, 380]
Output:
|
[
"[175, 23, 288, 382, 334, 62, 268, 473, 452, 447, 232, 463, 163, 432, 465, 257, 145, 495, 110, 380]"
] |
task1151-f146fe11fafd44a3a7ca2388ad6ef78b
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [192, 94, 99, 190, 320, 247, 334, 53, 177, 142, 451, 184, 496, 19, 117, 14, 265, 140, 430, 484]
Output:
|
[
"[192, 94, 99, 190, 320, 247, 334, 53, 177, 142, 451, 184, 14, 19, 117, 496, 265, 140, 430, 484]"
] |
task1151-5dbb2b781f8245a3be7fa43bf1ba20ad
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 23, 402, 268, 461, 222, 24, 312, 144, 125]
Output:
|
[
"[68, 367, 282, 379, 289, 321, 305, 254, 426, 108, 287, 461, 402, 268, 23, 222, 24, 312, 144, 125]"
] |
task1151-b94767801f4a4763897dd89e319c8cba
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [262, 28, 30, 382, 287, 474, 413, 349, 356, 15, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]
Output:
|
[
"[262, 28, 30, 382, 287, 15, 413, 349, 356, 474, 202, 313, 86, 17, 204, 306, 229, 227, 247, 47]"
] |
task1151-9ec112d0f92d4a3f8d2db92166f59b18
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 494, 417, 124, 10, 206, 428, 387]
Output:
|
[
"[412, 382, 419, 44, 424, 49, 395, 14, 131, 181, 19, 323, 51, 10, 417, 124, 494, 206, 428, 387]"
] |
task1151-5ecaac94cefa40e7bcb2b483ce8a6075
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 499, 465, 66, 426, 215, 43, 251, 374]
Output:
|
[
"[488, 495, 268, 140, 130, 379, 67, 298, 407, 250, 449, 74, 43, 465, 66, 426, 215, 499, 251, 374]"
] |
task1151-308826476937413c994b2dbf816b0cc2
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [328, 399, 81, 127, 466, 77, 360, 489, 346, 413, 406, 359, 431, 197, 26, 451, 120, 237, 443, 427]
Output:
|
[
"[328, 399, 81, 127, 466, 77, 360, 26, 346, 413, 406, 359, 431, 197, 489, 451, 120, 237, 443, 427]"
] |
task1151-83d8fb17f93f4dbeacd764c0dc8b46b8
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [217, 60, 362, 379, 424, 219, 47, 248, 439, 478, 349, 251, 485, 127, 202, 226, 270, 402, 105, 467]
Output:
|
[
"[217, 60, 362, 379, 424, 219, 485, 248, 439, 478, 349, 251, 47, 127, 202, 226, 270, 402, 105, 467]"
] |
task1151-d93c49c44fb747f2a89e17a53ff862ef
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [332, 397, 20, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 440, 315]
Output:
|
[
"[332, 397, 440, 176, 157, 58, 415, 67, 299, 201, 250, 295, 417, 310, 302, 132, 138, 117, 20, 315]"
] |
task1151-cf44f0b53c4f4a909cb761e8a34077dd
|
Definition: 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.
Positive Example 1 -
Input: [1,45,67,43,58,98,41,34,57]
Output: [98,45,67,43,58,1,41,34,57]
Positive Example 2 -
Input: [23,45,678,989,2,234,546,124]
Output: [23,45,678,2,989,234,546,124]
Negative Example 1 -
Input: [23,45,67,87,98,123,345]
Output: [23,45,67,87,98,123,345]
Negative Example 2 -
Input: [234,456,767,123,345,898,45,237]
Output: [45,234,456,898,767,123,345,237]
Now complete the following example -
Input: [120, 262, 66, 174, 202, 447, 193, 188, 307, 474, 69, 100, 338, 394, 487, 145, 348, 184, 358, 149]
Output:
|
[
"[120, 262, 487, 174, 202, 447, 193, 188, 307, 474, 69, 100, 338, 394, 66, 145, 348, 184, 358, 149]"
] |
task1151-c29fce8d44c2440f813183c86844bd5a
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.