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
I\'m trying to write this pseudo code for checking whether a data-structure based on trees is a binary tree.
i have a class like this: class myclass { public function save($params){ // some operations // posible error
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
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
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
Here\'s a basic plan. I\'m happy to produce anything resembling success, it\'s a Uni project. Pseudo code is great.
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
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.
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