You can use this assignment in your class!
Mastery Progress(100.0%)
i

You answeredJUST NOW
Java
You passed all test cases!
STDIN
3 1 2 5 4
Expected STDOUT
[1, 2, 3, 4, 5]
Your STDOUT
[1, 2, 3, 4, 5]
STDIN
100 200 300 400 500
Expected STDOUT
[100, 200, 300, 400, 500]
Your STDOUT
[100, 200, 300, 400, 500]
STDIN
-3 -9 -3 -3 -3 -3
Expected STDOUT
[-9, -3, -3, -3, -3, -3]
Your STDOUT
[-9, -3, -3, -3, -3, -3]
STDIN
8 -7 8 8 8 8 8
Expected STDOUT
[-7, 8, 8, 8, 8, 8, 8]
Your STDOUT
[-7, 8, 8, 8, 8, 8, 8]

Did you like this question?

(Voting helps us personalize your learning experience!)
imgInstructor solution
Alec KretchAPR 23, 2024, 6:37:27 PM
Java

Was this helpful?

(Voting helps us personalize your learning experience!)
Think you've got it?
Select one of the following options:
  • A.
  • B.
  • C.
  • D.
Submit answer

Was this helpful?

(Voting helps us personalize your learning experience!)

You may exit out of this review and return later without penalty.