Explore tweets tagged as #linkedhashmap
๐ก Java Tip : You can use LinkedHashMap to easily implement an LRU (Least Recently Used) Cache. #Java #Collections
1
19
142
Map HashMap LinkedHashMap LRU Cache WeakHashMap Garbage Collection Comparable SortedMap NavigableMap HashTable ConcurrentHashMap ConcurrentSkipListMap EnumMap ImmutableMap There is a lot of Map in Java ๐ญ๐ญ๐ญ
0
0
8
Java Interviews Essentials: HashMap vs TreeMap vs LinkedHashMap โ
HashMap โ Best performance, no order guarantees. TreeMap โ Keys always sorted. Good for range queries like subMap(), headMap(), tailMap(). LinkedHashMap โ Maintains order. Often used for LRU cache using
1
19
97
#Java from @geeksforgeeks ๐ โ
Map Interface โ
HashMap โ
TreeMap โ
LinkedHashMap #365DaysOfCode #JavaDev #GeeksforGeeks #gfg #nationskillup #skillupwithgfg #365DaysOfCoding
0
0
15
Java Tip ๐ก Since Java 21 โ๏ธ the most popular implementations of the Java Collection API like `ArrayList`, `LinkedHashMap`, or `LinkedHashSet` are sequential collections. #java #openjdk #java21 #collections
3
21
132
Day 58 of #100DaysOfCode ๐ฏ Solved "145. LRU Cache"(Medium)๐ฅ โ
Used LinkedHashMap for Time complexity O(1). #LeetCode #DSA #Java #CodingJourney #LearnInPublic
6
2
36
Day 25 of #100DaysOfCode
#Java #DSA HashMap HashTable HashSet LinkedHashMap Map Queue ArrayToList ListToArray
13
0
102
Least known feature of LinkedHashMap - it can be used as a cache that supports FIFO and LRU eviction policies. You should override the removeEldestEntry(...) method to determine if this map should remove its eldest entry and specify accessOrder=true in constructor to make it LRU
3
0
2
what's the point of a LinkedHashMap if there's no getter for keys that is also explicitly ordered?
3
1
0
๐ Day 2/100: Mastered Java Collections! ๐ Todayโs highlights: Lists: ArrayList, LinkedList, Vector Sets: HashSet, LinkedHashSet, TreeSet Maps: HashMap, LinkedHashMap, TreeMap Feeling accomplished! ๐ #Java #100DaysOfCode #Programming #TechSkills
2
0
2
Day 2 of #100DaysOfCode ๐ - Iteration on HashMap - Implementation - Implementation code - About LinkedHashMap - Objects and Constructor functions in JS Grinding 2X time on my 2nd #100DaysOfCode challenge โ
@ShradhaKhapra_ @ApnacollegeX
1
0
48
1
1
31
ava Learning #Day 48 โ Collection Map Interface โ Stores data in key-value pairs โ Keys are unique โ Implementations: HashMap, LinkedHashMap, TreeMap, Hashtable โ Real-world use: Student DB, Banking, E-commerce, Flight Booking #Java #CodingJourney #DSA
0
0
16
Me: Gives a brief prompt about a logic Copilot: Produces code that contains 2 for loops within the same method Me: Can you optimize this code as 2 for loops seems bad performance-wise? Copilot: Gives a method that uses Streams - sort, peek, collect, returns a linkedhashmap
0
0
1
List vs Set vs Map in Java ๐ Common Implementations: - List: ArrayList, LinkedList, Vector - Set: HashSet, LinkedHashSet, TreeSet - Map: HashMap, LinkedHashMap, TreeMap, Hashtable, ConcurrentHashM
0
9
65
โ
Day 74 of #geekstreak2025! Solved LRU Cache on @geeksforgeeks using Javaโs LinkedHashMap O(1) access & insertion Built-in elegance FTW! Time: O(1) | Space: O(capacity) #gfg160
1
0
16
Day 4 of #100DaysOfCode ๐ - Revised HashMap implementation - TreeMap - Comparison btw HashMap, LinkedHashMap and TreeMap - Valid Anagram using hashmap @ShradhaKhapra_ @ApnacollegeX @AmanDhattarwal #DSA #Java
0
1
46
๐ Day 28 Java: Map Interface in Java - Topics Covered - LinkedHashMap - LinkedHashMap Behavior - Hashtable - Constructor of Hashtable & LinkedHashMap ๐ Let's Connect. #Java #WebDev #letsconnect
0
0
3