We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Yeah, My solution can be improved with the use of LinkedList instead of ArrayList, I think for these test cases it's enough. Using List because both classes => Linkedlist & ArrayList are implemented from the list interface.
Java List
You are viewing a single comment's thread. Return to all comments →
Yeah, My solution can be improved with the use of LinkedList instead of ArrayList, I think for these test cases it's enough. Using List because both classes => Linkedlist & ArrayList are implemented from the list interface.