Linked list is a palindrome or Not

In this article, we discussed a problem: How to check given linked list is palindrome or not in O(n) time complexity means in single traverse. Any number or word which found the same, either you read them from forwards or backwards then they are palindrome. What is palindrome? To determine, given…

Continue reading

Introduction to ArrayList

What is ArrayList? ArrayList is a dynamic data structure from the Java Collection Framework. It is a widely used data structure in Java developer life. For example, as a developer you are required to fulfill the requirements such as “collecting items into cart”, “delete multiple emails from your inbox”, “multiple…

Continue reading