Explore tweets tagged as #HashMap
@VivekGu88594855
Vivek Gupta
1 hour
๐Ÿง  LeetCode 13: Roman to Integer.Greedy + HashMap ๐Ÿ’ก.If prev โ‰ฅ curr โ†’ add.Else โ†’ subtract.โฑ๏ธ O(n) | ๐Ÿ” Single pass.#CodingChallenge
Tweet media one
0
0
2
@Vishal738703
Vishal Singh
3 days
๐Ÿ”ข 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
Tweet media one
2
0
8
@1tushartwt4
Tushar Saxena
3 hours
โœ…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
Tweet media one
Tweet media two
0
0
4
@B_Furqan07
Furqan ๐Ÿš€
5 hours
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
Tweet media one
0
0
2
@Vishal738703
Vishal Singh
4 days
๐Ÿง  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
Tweet media one
1
0
8
@1tushartwt4
Tushar Saxena
23 hours
โœ…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
Tweet media one
0
0
10
@vx6Fid
Achal
9 hours
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
Tweet media one
0
0
2
@AbhirupCode
Abhirup Biswas
24 hours
Daily DSA ๐Ÿš€ Streak-56.- Two sum (using hashmap). #100DaysOfCode #DSA #LeetCode .@ShradhaKhapra_ @ApnacollegeX
Tweet media one
Tweet media two
1
1
38
@B_Furqan07
Furqan ๐Ÿš€
1 day
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
Tweet media one
0
0
13
@DPrakash90053
Diwakar Prakash
3 days
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
Tweet media one
0
0
9
@Wannabe_01_
Bijay Prasad
3 days
#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
Tweet media one
Tweet media two
Tweet media three
Tweet media four
0
0
3
@Yash_623
Yash
1 day
๐Ÿ”ฅ 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
Tweet media one
1
0
12
@bdking_71
Bryan King (W8DBK)
5 hours
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
@felipemellozx
Felipe Melo
2 days
LeetCode Day 91. 3471. Find the Largest Almost Missing Integer. Used a sliding window with HashSet to get uniques in each subarray, and a HashMap to count how many subarrays each number appeared in. Returned the largest with count == 1. ๐Ÿ•’ O(n * k) | ๐Ÿ’พ O(n).#LeetCode #Java
Tweet media one
0
0
2
@just_thoughtss7
Moosa
2 days
"Solved a problem on LeetCode using HashMap for the first time. Problem : 2SUM
Tweet media one
0
0
4
@amitiitbhu
Amit Shekhar
27 days
Many Android developers ask me about the use cases of data structures and algorithms in Android. As we already know, ArrayList and HashMap are among the most frequently used, so Iโ€™m sharing some different examples:. - findViewById: Depth-First Search (DFS).- LRUCache: Doubly
Tweet media one
0
2
30
@bytewise010
Byte Wise 010
11 days
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:
Tweet media one
1
12
129
@Wannabe_01_
Bijay Prasad
2 days
#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
Tweet media one
Tweet media two
0
0
7
@DPrakash90053
Diwakar Prakash
3 days
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
Tweet media one
0
0
8