Inspiration
To solve a problem statement
What it does
Given a list, it sorts the list in an ascending order
How we built it
I built it using .sort() function by including import java.util.Arrays library
Challenges we ran into
how does the sort function works.
What we learned
I learned about Arrays and and some library functions
Resouces
``` import java.util.Arrays;
class SortList { public static void main(String[] args) { int list_items[] = {69, 34, 90, 23, 88, 3, 75}; System.out.println("Original list : " + Arrays.toString(list_items)); Arrays.sort(list_items); System.out.println("\nSorted list : " + Arrays.toString(list_items)); } }
Built With
- java
- vs
Log in or sign up for Devpost to join the conversation.