theory
Would these C-pointer operations cause problems?
Let\'s say I\'ve got that: char *p = NULL; I\'m sure this one would b开发者_运维知识库e a problem as I\'d be dereferencing a NULL pointer:[详细]
2023-03-03 07:23 分类:问答Advice when creating an algorithm which sortes pages with infinite children hierarchy
I need some advice when it comes to solving a sorting algorithm. This particular algorithm will have an input of a list with n items. Each item has an id and a parent id. Like this:[详细]
2023-03-03 00:47 分类:问答Does creating a custom graph data structure violate any principles?
I\'m working on a small scientific course project related to circuit testing using continuous methods. The program would parse circuit definition files and then build an easily modifiable graph struct[详细]
2023-03-02 18:10 分类:问答Find the Simplified Sum of Products of a Boolean expression
Just having some problems with a simple simplification. I am doing a simplification for the majority decoder with 3 inputs A, B and C. Its output Y assumes 1 if 2 or all 3 inputs assume 1. Y assumes 0[详细]
2023-03-01 13:44 分类:问答Creating a suggested words algorithm
I\'m designing a cool spell checker (I know I know, modern browsers already have this), anyway, I am wondering what kind of effort would it take to develop a fairly simple but decent suggest-word algo[详细]
2023-03-01 02:56 分类:问答Algorithm: for G = (V,E), how to determine if the set of edges(e belong to E) is a valid cut set of a graph
Given a subset of edges of a graph G = (V,E), how can wecheck whether it is a valid cut-set of the graph or not?[详细]
2023-02-28 14:26 分类:问答How do you determine the base table?
My question is in relation to database theory. If I am given a set of tables, is there a way to determ开发者_运维技巧ine the base table just by looking at them?It is a tenet of the relational model[详细]
2023-02-27 11:46 分类:问答Kinect Gesture Recognition Theory
What are some of the algorithms involved in detecting user gestures based on skeleton movements?The ones I\'m aware of include:[详细]
2023-02-26 23:05 分类:问答Is a data structure implementation with O(1) search possible without using arrays?
I am currently taking a university course in data structures, and this topic has been bothering me for a while now (this is not a homework assignment, just a purely theoretical question).[详细]
2023-02-25 10:56 分类:问答What makes an NP-hard problem not to be an NP-complete problem?
I am having confusion about NP-hard problems. Some NP-hard problems are in NP which are called NP-Complete and some are not in NP.[详细]
2023-02-24 05:10 分类:问答