Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Onze excuses dat er iets mis is gegaan. Wat is er gebeurd?

book
Sort a Pair of Numbers

Given two integers x and y, return a list of integers: the first being the minimum of x and y, and the second being the maximum of x and y.

Example 1

Input:

x = 5; y = 3

Output:

[3, 5]
main.cpp

main.cpp

cpp

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

some-alt