I have a Collection of HashMap<String, Duble> which I am getting from multimap. I want to calculate the average on Maps values and calculate whi ...
I have a Collection of HashMap<String, Duble> which I am getting from multimap. I want to calculate the average on Maps values and calculate whi ...
I have a map and the keys are strings. If the key contains the word "kg" I want to multiply the value by 2.2 and then replace "kg" with "lb" in the ke ...
I have an input output like this. A maximum of three elements can come in the targetInfo in this output. I want to get the first three elements in it. ...
I have a big list of HashMap<String, Object> items that I need to sort dynamically based on a list of fields. If the list of fields were static ...
Given a HashMap of n elements how does one start iteration from n-x element. The order of elements does not matter, the only problem I need to solve ...
This is more of an intellectual exercise, but are there battle-tested C++ libraries implementing hash map/set (std::unordered_map, std::unordered_set) ...
How could I use a HashMap<String, MyObjectSource> as source to an object? Here is my target object: Here is my object source: Here is my ...
I've been stuck on this question in an assignment in which I must "List the stations along a given subway line" There are two Hash Maps: I am tryin ...
I am trying to create a simple program which converts any given char number 1-9 to its roman equivalent. I figured I could store the value pairs in a ...
I have a method that takes a parameter of filters that is an ArrayList<>() of strings that I need to split on ":" and put in a map. And would ...
I want to display data in table row while extracting values from map object using JavaScript while AJAX success. Below is my response that I got from ...
For example, if I have n keys and m slots in the hash map, the average size of a linked list starting from a slot would be n/m. Am I correct in thinki ...
I would like to find a value using a hashmap and then use this value to calculate a new one. Usually I try to work efficiently, but I am not very prof ...
public class ProductInStockRequest { } I have a List I have a Map<String, Integer> productInDbMap = new HashMap<>(); I created n ...
I have a map of string boolean pairs saved on firebase realtime database and was wondering if there is a way to retrieve it in kotlin as a linkedhashm ...
I have an array of data like below: can I select data at the third index greater than 50, so if in a row of data the third index is less than 50 th ...
I am trying to process a series of sports results that get supplied as a text file. Each line contains the name of the home team, the name of the away ...
i have two nested dict and Want to get subracted dict values. Getting the same with for loop. but any other way other than forloop. ...
I would like to learn Kotlin and try to transfer multiple objects that each manage two ints to one list that manages a hashmap of two ints. This is th ...
} I made this code to display the largest value with its String, however, instead of printing out a specific value, it prints out the entire value ...