Let\'s say that we have two boxes of pencil开发者_如何学Cs (in first box just blue and in second just red pencils). Sothe question now is, in how many ways can we put x red and y blue pencils in the l
My DjangoApp is using categories to generate a navigation and to put stuff in those categories. There are two types of categories:
I\'m interested how can be implemented recursive regexp matching in Python (I\'ve not found any examples :( ). For example how would one write expression which matches \"bracket balanced\" st开发者_开
I have a binary, the database table of relationships looks like this: +----+----------+---------+-----+
I\'m working on a recursive Ackermann function in Java. I am getting an error at may recursive line开发者_开发知识库, 23.
I\'ve wrote this simple piece of c开发者_开发问答ode. And I have a slight problem with it. int [] x = [50,70,10,12,129];
Lets say I have an Areas Table ( id, parentId, name, path ). Given an Id, I\'d like to get all childrens (children of children included, recursively) of the given area.
Here is a recursive function that I\'m trying to create that finds all the subsets passed in an STL set. the two params are an STL set to search for subjects, and a number i >= 0 which specifies how b
I have a function that generates a key of 4 characters that has to be unique for each time. In order to do that, the function first generates a key, and then checks a database table to see if it\'s in
I am trying to figure out the best way to write a PHP function that will recursively build a multi-dimensional array with an unknown number of sublevels from a mysql table. Its purpose is to create a