data-structures
store line in linked list (c)
I think that I am having some issues with how linked lists work, please bear in mind that I am not an expert with C and that I have not worked with linked lists before.[详细]
2023-04-06 05:20 分类:问答Array-Based vs List-Based Stacks and Queues
I\'m trying to compare the growth rates (both run-time and space) for stack and queue operations when implemented as both arrays and as linked lists. So far I\'ve only been able to find average case r[详细]
2023-04-06 04:02 分类:问答How is it possible to build a suffix tree in linear time?
To build a suffix tree, in the worst cas开发者_开发问答e if all the letter of the string are different the complexity would be something like[详细]
2023-04-06 00:28 分类:问答Automatically sorted by values map in Java
I need to have an automatically sorted-by-values map in Java - so that It keeps being sorted at any time while I\'m adding new key-value pairs or update the value of an existing key-value pair, or eve[详细]
2023-04-05 23:13 分类:问答A data structure that can represent multiple branching paths in a sequence
I am trying to implement a model for an input-output system, in where there are several different \"calculators\" doing different calculations with the inputs and returning one or more outputs (in my[详细]
2023-04-05 20:14 分类:问答Data Structures - lists
This is homework but the lesson gives me the answer already. I\'m having trouble putting the words from the answer to the line of code[详细]
2023-04-05 20:00 分类:问答First-in-first-out collection with maximum size and no duplication?
.NET seems to have a lot of data structure and collection types. Does it have a first-in-first-out collection with a maximum size and no duplication, or something similar to that?[详细]
2023-04-05 19:10 分类:问答Hashes: Tables, Lists and Maps, Oh My?
I\'ve been trying to find some concrete (laymen; non super-academic) definitions for the various types of hash data structures, specifically hash tables, hash lists and hash maps. Online searches prov[详细]
2023-04-05 18:12 分类:问答Composing data-structures/strings matching a CFG
The JSON syntax is an example of a CFG (Context free grammar). Va开发者_JS百科lid JSON strings are a sequence of tokens constrained to a CFG... or, the tokens can -equivalently- be thought of as a st[详细]
2023-04-05 15:40 分类:问答design a system supporting massive data storage and query
I was asked by the interviewer to design a system to store gigabytes of data and the system also has to support some kind of query.[详细]
2023-04-05 12:20 分类:问答