issues
search
dtsivkovski
/
csa23
Webpage to keep track of my computer science progress through Jupyter notebooks and blogs.
https://dtsivkovski.github.io/csa23
Apache License 2.0
2
stars
2
forks
source link
Unit 7 - Arraylist Lesson
#13
Open
dtsivkovski
opened
1 year ago
dtsivkovski
commented
1 year ago
Link to IPYNB
Create an ArrayList that includes 2 of the 4 factors listed below.
[x]
Sort an ArrayList in descending order and swap the first and last elements
[ ] Find and display the hashCode of an Arraylist before and after being sorted
[x]
Return "ascending" if the list is sorted in ascending order, return "descending" if it is descending, and return "neither" if neither
[ ] Replace 3 elements in an ArrayList with another ArrayList and reverse the order of the new list
Link to IPYNB