pseudocode
Knapsack problem with specified number of weights can be used
I have a knapsack problem with specified knapsack capacity for weight and weights count. I need an algorithm that packs weights to knapsack when knapsack capacity is C, needed weights count is N and[详细]
2023-02-19 22:17 分类:问答Binary trees- pseudo codes?
I\'m trying to write this pseudo code for checking whether a data-structure based on trees is a binary tree.[详细]
2023-02-19 02:42 分类:问答method retuns error code or what is the best way to do that
i have a class like this: class myclass { public function save($params){ // some operations // posible error[详细]
2023-02-19 01:54 分类:问答How to get the cut-set using the Edmonds–Karp algorithm?
I implemented the Edmonds–Karp algorithm using the Pseudocode that I found in the Edmonds–Karp algorithm wiki page: http://en.wikipedia.org/wiki/Edmonds%E2%80%93Karp_algorithm[详细]
2023-02-18 22:27 分类:问答How would this code segment look as pseudo-code?
I have this code: for(iteration<string> it=name_list.iterator();it.hasNext();) What would be a开发者_StackOverflow中文版 suitable pseudo-code representation for the above code?Since pseudo-co[详细]
2023-02-18 22:20 分类:问答most efficient algorithm for word partitioning?
I\'ve been looking for an ef开发者_高级运维ficient word partitioning algorithm but without much success. For example, given the word hello I want to obtain all the possible partitions of that word: {h[详细]
2023-02-18 21:40 分类:问答How can I automate testing a website for sql injection vulnerabilities
Here\'s a basic plan. I\'m happy to produce anything resembling success, it\'s a Uni project. Pseudo code is great.[详细]
2023-02-18 17:28 分类:问答how to get all combinations from multiple trees?
I have no idea how to get all the possibilities from x sets of data other than using x nested for loops, which i dont want to do, because i dont know the value of x, which makes it very possible for t[详细]
2023-02-17 03:06 分类:问答Code Brain "Teaser" -- but not really
I\'m just curious to开发者_Go百科 see what you guys think about this. I heard a bunch of answers passed around the office and I want to see if you guys can have possibly a better one.[详细]
2023-02-15 02:02 分类:问答Equivalence of 2 simple parts of pseudocode
I am to implement an algorithm where the way I thought it out on paper is slightly different from the pseudo-code suggested in our text book. I am trying to convince myself that the 2 snippets of pseu[详细]
2023-02-13 22:19 分类:问答