I have data that sends in “bursts” of 100 records with a significant delay. How do I structure my classes for multithreading?
My datasource sends information in 100 batches of 100 records with a delay of 1 to 3 seconds between batches.
How to design data structures for sharding?
When designing data structures for an application, what are some best practices to make sure it can be sharded?
When to use DAG (Directed Acyclic Graph) in programming?
I recently found a framework named ecto.
Patterns for a tree of persistent data with multiple storage options?
I have a real-world problem which I’ll try to abstract into an illustrative example.
I need some help creating a non-binary tree (or some other data structure that will better solve my problem)
I have about ten lists of numbers and some strings. Each list has about <= 30K lines. Each line on a list has a distinct number.
Data structure for pattern matching
Let’s say you have an input file with many entries like these:
Fast set indexing data structure for superset retrieval
I am given a set of sets:
Why create a Huffman tree per character instead of a Node?
For a school assignment we’re supposed to make a Java implementation of a compressor/decompresser using Huffman’s algorithm.
Which design better when use foreign key instead of a string to store a list of id
I’m building online examination system. I have designed to table, Question
and GeneralExam
. The table GeneralExam
contains info about the exam like name, description, duration,…
Generating Deep Arrays: Shallow to Deep, Deep to Shallow or Bad idea?
I’m working on an array structure that will be used as the data source for a report template in a web app.