Jyotiprakash Mishrablog.jyotiprakash.org·Nov 29, 2024Collections in JavaIn the world of programming, data is king. Everything we design, every application we build, revolves around efficiently managing and processing data. From a simple list of tasks in a to-do app to managing millions of customer records in an enterpris...90 readsJava
Vaishnavi Dwivedivaishd.hashnode.dev·Nov 18, 2024Java Collections FrameworkImagine you're in a busy kitchen, using different tools to prepare a meal—this is similar to the Java Collections Framework. It provides a set of classes and interfaces to store, manage, and retrieve data in your programs. Just like you have differen...Learn DSA - JAVAJava List, Set, Map, Queue
Aswin Bennyblog.aswinbenny.in·Oct 7, 2024Hash Data StructuresIntro Hash Set vs Hash Map Hash Set or unordered_set No values, just keys Used to check if a key exists or not Hash Map or unordered_map Value is also included Used to check if a key exists and also get its value Ordered Map vs Unordere...Data Structuresdata structures
Arpit Singhd-s-a.hashnode.dev·Oct 3, 2024HashMap, JavaOverview Hey there, let’s quickly go through Java HashMap, it is a powerful data structure that facilitates efficient storage and retrieval of key-value pairs. Java's HashMap is part of the java.util package and implements the Map interface. Unlike i...data structures
Kingsley Ihemelandukijuchihe.hashnode.dev·Oct 2, 2024Hash Maps in DSAWhat are Hash Maps Hash maps are data structures that store key-value pairs, allowing for efficient data retrieval. They function similarly to a dictionary, where a unique key corresponds to a specific value. For instance, consider a scenario where y...Data Structures and Algorithmshashmap
Alexander Koloboviamaleko.hashnode.dev·Sep 29, 2024Algorithms in Everyday TasksOriginally published on TechBullion. I often hear from front-end developers, that the ability to solve algorithmic problems, which are frequently assessed in interviews, is completely unnecessary for regular developers. They believe the same applies ...55 readstypedarray
Nicolas Fränkelfrankel.hashnode.dev·Aug 15, 2024Default map valueIn this post, I'll explain how to provide a default value when querying an absent key in a hash map in different programming languages. Java Let's start with Java, my first professional programming language. In older versions, retrieving a value from...programming languages
Sohag Molliksohagmollik.hashnode.dev·Aug 10, 2024Solution Approach to Solve Leetcode Problem "3016. Minimum Number of Pushes to Type Word II"In this article, we'll tackle the LeetCode problem '3016. Minimum Number of Pushes to Type Word II,' where we need to find the minimum number of pushes required to type a given word using a keyboard with a specific layout. The problem provides a keyb...leetcode
Anjan BaradwajforfreeCodeCampfreecodecamp.org·Aug 9, 2024How Java HashMaps Work – Internal Mechanics ExplainedA HashMap is one of the most commonly used data structures in Java, and it's known for its efficiency. Data in a HashMap is stored in the form of key-value pairs. In this article, I will introduce you to HashMaps in Java. We will explore the common o...Java
eclaircpcompetitive-programming.hashnode.dev·Jul 27, 2024Two Sum - LeetCodeProblem Link C++ Code class Solution { public: vector<int> twoSum(vector<int>& nums, int target) { map<int, int> hashMap; vector<int> ans; for(int i=0; i<nums.size(); i++) { int num = nums[i]; ...LeetCode Solutionsleetcode