Explore tweets tagged as #HashMap
๐ง LeetCode 13: Roman to Integer.Greedy + HashMap ๐ก.If prev โฅ curr โ add.Else โ subtract.โฑ๏ธ O(n) | ๐ Single pass.#CodingChallenge
0
0
2
๐ข Day 75/100: Subarray Sum Equals K.โ
Used prefix sum + hashmap for O(n) efficiency.โ
Handled negative numbers with ease.โ
Counted all subarrays summing to target k.Hashing magic in action! ๐ชโจ.#100DaysOfCode #LeetCode #CPlusPlus #DSA #HashMap #CodingChallenge
2
0
8
โ
Day 43 of #100DaysOfCode.Solved 2 LeetCode challenge today!.1. Convert Binary Number in a Linked List to Integer (POTD) .2. Baseball Game.#LeetCode #DSA #ProblemSolving #hashmap #vit #challenge #DrGVishwanathan #greedy #Stacks #algorithm #Arrays #linkedlist
0
0
4
Day 127 โ LeetCode 229 โ
.๐ณ๏ธ Majority Element II.Count frequency of each number.If freq > โn/3โ, include in result.๐ Used hash map for counting.โก Simple & effective.#LeetCode #C++ #HashMap #MajorityElement
0
0
2
๐ง Day 74/100: LRU Cache.โ
Designed custom doubly linked list with HashMap.โ
O(1) get & put operations using pointers ๐.โ
Handles eviction and insertion like a pro!.Perfect blend of logic & optimization ๐ก.#100DaysOfCode #LeetCode #CPlusPlus #LRUCache #SystemDesign #DSA
1
0
8
โ
Day 42 of #100DaysOfCode.Solved 1 LeetCode challenge today!.1. Maximum Matching of Players With Trainers (POTD) .#LeetCode #DSA #ProblemSolving #hashmap #vit #challenge #DrGVishwanathan #greedy #sorting #algorithm #backtracking #Array
0
0
10
Day 42 โ
of #100DaysOfCode.Solved Top K Frequent Elements.โ First try: sort + hashmap โ fast, wrong complexity.โ Asked to do better โ bucket sort (O(n)), no sort, no heap.โ Looks slower, but ticks the โtheoryโ box.Speed is a lie, interviews want proofs
0
0
2
Daily DSA ๐ Streak-56.- Two sum (using hashmap). #100DaysOfCode #DSA #LeetCode .@ShradhaKhapra_ @ApnacollegeX
1
1
38
Day 126 โ LeetCode 347 โ
.๐ฅ Top K Frequent Elements using Max Heap.Count frequency with map.Push into heap as {freq, num}.Pop top k โ result.โก Runtime: 0 ms.#LeetCode #C++ #Heap #HashMap #100DaysOfCode
0
0
13
LeetCode 451 โ Sort Characters by Frequency.Used HashMap to count & MaxHeap (PriorityQueue) to sort chars by freq ๐.Loved how data structures fit together to solve this! ๐ฅ.#LeetCode #PriorityQueue #HashMap #Java #DSA #TechTwitter #100DaysOfCode
0
0
9
#Day9 of grinding until I land a job! ๐.- Solved 2 questions of HashMap, and Two Pointer Approach from NeetCode .- Brushed up on JavaScript concepts.- Completed about section of the updated Portfolio.Connect with me, letโs grow together! .#DSA #LeetCode #NeetCode #100DaysOfCode
0
0
3
๐ฅ Day 284 of DSA Series ๐. Solved 1 LeetCode problem!. 1๏ธโฃ Longest Palindrome ๐คโค๏ธโ๐ฅ.โ Counted character frequencies and paired them optimally, allowing one odd centerโclassic and elegant frequency! ๐กโ
. #100DaysOfCode #LeetCode #DSA #String #HashMap #Greedy #CodingChallenge
1
0
12
Ever built your own hashmap in JavaScript? ๐ Dive deep into hashing, collisions & instant lookupsโthen wire it up inside React. Because real devs love tinkering. ๐ Read more: #ReactJS #JavaScript #WebDev.
0
0
0
HashSet in Java. A ๐๐๐ฌ๐ก๐๐๐ญ is a collection used to store unique elements with no guaranteed order. It is part of the java.util package and implements the Set interface, internally backed by a HashMap. ๐๐ฒ๐ ๐๐ฒ๐ฎ๐๐๐ฟ๐ฒ๐ ๐ผ๐ณ ๐๐ฎ๐๐ฎ ๐๐ฎ๐๐ต๐ฆ๐ฒ๐.๐นUniqueness:
1
12
129
#Day10 of grinding until I land a job! ๐.- Solved 2 questions of HashMap, and Two Pointer Approach(Hard) from NeetCode .Connect with me, letโs grow together! .#DSA #LeetCode #NeetCode #100DaysOfCode
0
0
7
LeetCode 1347 โ Min Steps to Make Anagram.Used two HashMaps to compare char frequencies .Itโs all about balancing what one string has vs. what the other needs โ๏ธ.#LeetCode #HashMap #Java #DSA #100DaysOfCode #CodingJourney #TechTwitter
0
0
8