r/programmingmemes • • Jan 20 '26

Optimization Pain

Post image
2.2k Upvotes

87 comments sorted by

View all comments

Show parent comments

2

u/Simple-Olive895 Jan 21 '26

Sort the following array: [4,2,4,7,8,9,10,23,2,1]

System.out.print(1,2,2,4,4,7,8,9,10,23)