Please help me im really stuck on how to do these problems i
Please help me im really stuck on how to do these problems if possible could you write a pesudo code explaining the process and commenting what each part does.
Write a method for the AList class that moves the last item in the list to the beginning of the list.
public void moveToBeginning()
Write an equals method for the AList class to override the method inherited from Object. Two lists are logically the same if they contain the same elements in the same order.
import java.util.Arrays;
Solution
Slightly more flexible:
