Do the following Practice-It problems on Linked Lists (BJP5, Chapter 16)
Do the following LeetCode problems on Linked Lists:
Build a "LinkList" class that holds Node objects with integers inside and implement the following methods:
constructor: You only need to create a zero-argument constructor that creates an empty list.
toString: Your linked list should print in the same way as the one in the Java library.
add: This method should take an integer argument (not a Node argument).
clear
get
remove: Overload this so that the zero-argument version removes the last item. Also have a version that takes an index as an argument.
size
isEmpty