pseudocode
Algorithm to reach a number in a fixed amount of steps using addition, division and multiplication only
Working on a game at work and at one point in the game the player is tossed into a bonus game. The amount they need to win is predetermined, however we\'d like to come up with an algorithm which uses[详细]
2023-02-11 10:35 分类:问答Algorithm for computing partial orderings of dependency graphs
I\'m trying to compute a partial \"topological sort\" of a dependency graph, which is actually a DAG (Directed Acyclic Graph) to be precise; so as to execute tasks without conflicting dependencies in[详细]
2023-02-10 09:15 分类:问答Programming Help, methods to make it work
Ok below is the full code I have written for what is suppose to be my own BigInteger class in java, I rather use what is there already but the professor wants this.[详细]
2023-02-10 06:41 分类:问答How to get points X, Y coordinates from line angle?
So I have a 8x8 square. There is a line in it. Line size == 8 angle == 0. One of line points is always on one of the top corners.[详细]
2023-02-09 07:29 分类:问答Overview of set/vector/mapping operations for use with accademic pseudocode
I am a PhD student -- In accademia people often describe algorithms using pseudocode. Structures like vectors, sets a开发者_如何学Cnd mappings crop up very often. Is there a comprehensive list of oper[详细]
2023-02-08 19:53 分类:问答Is pseudo code needed in today's programming?
Should I learn pseudo code to learn Data-structures and Algorithms? Or is it actually ne开发者_如何学JAVAeded?[详细]
2023-02-07 21:04 分类:问答What does this algorithm do?
Got an exam tomorrow and one of the practice question asks what this algorithm written in pseudocode does.Can anyone help?[详细]
2023-02-06 23:43 分类:问答sorting int array with only 3 elements
I have 开发者_开发技巧this array: int [] myarray ={17, 6, 8}; What is the optimal way to sort this array, in pseudocode?[详细]
2023-02-06 20:30 分类:问答Big-O of an operation over a single linked list
Suppose you\'ve got a single linked list of size N, and you want to perform an operation on every element, beginning at the end.[详细]
2023-02-06 13:01 分类:问答How to to parse pseudocode similar to BBCode in PHP?
I am working with template files that contain lines like these: [field name=\"main_div\" type=\'smallblock\' required=\"yes\"][详细]
2023-02-06 12:38 分类:问答