We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
List
if you do different packages for you realization should be packages for arrayList and for linkedList
LinkedList
LOOK ORIGINAL REALIZATION AND FIX YOUR REALIZATION
The text was updated successfully, but these errors were encountered:
package name collections.arraylist but inside package arraylist and linkedlist
ArrayList
inside method remove should invoke checkIndexExceptio
inside method add should not code which resize data, this code should be in different "helper" method
in method remove the similar (resize code should be inside helper method)
Sorry, something went wrong.
No branches or pull requests
List
if you do different packages for you realization should be packages for arrayList and for linkedList
data = new Object[DEFAULT_CAPACITY];
public ArrayList(int capacity) {
data = new Object[capacity];
}
LinkedList
LOOK ORIGINAL REALIZATION AND FIX YOUR REALIZATION
The text was updated successfully, but these errors were encountered: