MManikandan S1d ago · 5 min readLinkedHashMap in Java1. Introduction to LinkedHashMap LinkedHashMap is a Java class that implements the Map interface. It stores key-value pairs and maintains insertion order by default. Syntax LinkedHashMap<KeyType, Valumanikandan4411.hashnode.dev
MManikandan S4d ago · 6 min readHashMap in JavaIntroduction to HashMap HashMap is a Java class that implements the Map interface. It stores data as key-value pairs. Keys must be unique, but values can be duplicated. It does not guarantee insertionmanikandan4411.hashnode.dev
MManikandan SOct 16 · 5 min readTreeSet in Java1. Introduction to TreeSet TreeSet is a Java class that implements the NavigableSet interface. It stores unique elements in sorted order. Syntax TreeSet<Type> set = new TreeSet<>(); Example import jamanikandan4411.hashnode.dev
MManikandan SOct 14 · 5 min readLinkedHashSet in Java: Definition, Methods, Syntax and Examples1. What Is LinkedHashSet in Java? LinkedHashSet is a Java class that implements the Set interface. It stores unique elements and maintains their insertion order. Syntax: LinkedHashSet<Type> set = new manikandan4411.hashnode.dev
MManikandan SOct 12 · 4 min readHashSet in Java1. What is HashSet? HashSet is a class in Java that implements the Set interface. It stores unique elements and does not guarantee insertion order. Syntax: HashSet<Type> set = new HashSet<>(); Examplmanikandan4411.hashnode.dev
MManikandan SOct 9 · 7 min readLinkedList in Java1. What is LinkedList? LinkedList in Java is a class that implements the List and Deque interfaces. It stores elements as nodes, where each node contains the data and links to other nodes. It is usefumanikandan4411.hashnode.dev
MManikandan SOct 7 · 5 min readArrayList in JavaArrayList is one of the most commonly used classes in the Java Collections Framework. It provides a resizable array that can grow or shrink dynamically. 1. What is ArrayList? Definition:ArrayList is manikandan4411.hashnode.dev
MManikandan SOct 5 · 7 min readJava Collection ComparisonsJava provides different collection types for storing and managing data. Understanding the differences between them is important for Java development, DSA, and interviews. This article covers the most manikandan4411.hashnode.dev
MManikandan SOct 3 · 5 min readSorting Collections in JavaSorting means arranging elements in a specific order, such as ascending or descending order. Java provides Collections, Comparable, and Comparator to sort collections easily. 1. Collections.sort() Defmanikandan4411.hashnode.dev
MManikandan SOct 1 · 6 min readJava CollectionsJava Collections Framework provides a set of interfaces, classes, and methods for storing and manipulating groups of objects. It makes it easier to store, search, sort, and process data in Java. 1. Wmanikandan4411.hashnode.dev