All Questions
4 questions
1
vote
2
answers
216
views
Efficient datastructure to create size-limited dictionary
I need a class that acts like a dictionary but will constrain the total number of key/value pairs it contains. For instance, let's say the maximum number of entries is 1000 and the class already ...
0
votes
1
answer
130
views
Handling the process of large-scale lists [closed]
What are the efficient ways to process huge lists (+10 millions), and things to consider while manipulating huge lists.
First question, when should I use recursion, and when I shouldn't. In both ...
0
votes
4
answers
186
views
Efficient "Object with weights" structure
I need to find an "efficient" data structure / set of algorithms to do the following things:
I have a list of objects. I need to assign them weights and later on increase or decrease these weights.
...
21
votes
3
answers
881
views
How do I express subtle relationships in my data?
"A" is related to "B" and "C". How do I show that "B" and "C" might, by this context, be related as well?
Example:
Here are a few headlines about a recent Broadway play:
David Mamet's Glengarry ...