data-structures
Handling large String lists in java
I\'ve got a task, where I\'ve got to go through several billion string lines and check, whether each of those is unique. All the lines themselves cannot be accommodated within the RAM memory of the PC[详细]
2023-04-10 04:48 分类:问答Better data structure or algorithm than iterative searching on multidimensional arrays to find corresponding values?
For a site I am working on I use a library to get a list of states.It returns a numerically indexed array of states, each with three keys: stateCode, stateName, and stateSeg. It looks like this:[详细]
2023-04-10 03:08 分类:问答find index of element inside a collection, which collection to use?
I have a problem choosing the right data structure/s, these are the requirements: I must be able to insert and delete elements[详细]
2023-04-10 02:34 分类:问答C Double Pointer to Structure
I am trying to work out a double pointer to a structure in C and cannot figure out what is going wrong... The simple source is below:[详细]
2023-04-10 01:45 分类:问答Implementing hash table with both key and index-based access in O(1)
There is a data structure called NameObjectCollectionBase in .NET which I\'m trying to understand. Basically, it allows to enter arbitrary string => object key/value-pairs with both the possibility o[详细]
2023-04-10 00:45 分类:问答Data Structure - Inserting/Updating into ordered list
I\'m using the facebook api to retrieve a list of a user\'s photos. I\'m using this to work out the user\'s close friends by seeing who has been tagged the most in the user\'s photos. So what I have t[详细]
2023-04-10 00:17 分类:问答How can I improve my Trie implementation in terms of initialization?
I\'m trying to read in from a huge list of words and store them in a way that allows me to make quick retrievals later on. I first thought of using a trie and I\'ll admit my implementation isnaive, it[详细]
2023-04-09 16:25 分类:问答Break the linked list into smaller linked lists
I need to break a singly linked list into smaller linked lists after every 2 nodes . The approach I thought was,[详细]
2023-04-09 13:09 分类:问答how to properly modelize an object with localized (i18n) properties
I have an Entity which has an id and a title. The id is always the same but the title value change given a locale. I found three way to modelize this :[详细]
2023-04-09 11:36 分类:问答Picking the right data structure
I\'m trying to teach myself java. I\'m trying to write a program that takes a string with no spaces and separates it into words.[详细]
2023-04-09 11:30 分类:问答