It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andca开发者_StackOverflow社区nnot be reasonably answered in its curr
How would you recursively or iteratively change a decimal to hexadecimal? I wrote a sample program that does not really work:
As an exercise, I have been trying to build a non-GUI boggle type game in python. So far, the user is able to enter a board size (4x4,5x5,etc).The \'array\' of letters appears and then the user may ty
I\'m trying to write a recursive function of sorts in PL/SQL. The problem is: So say table A has rows: {B, C},
So I\'ve been writing a program for the game boggle. I create a little board for the user to use, but the problem is I don\'t know how to check if that word is on the board recursively. I want to be a
I have an algorithm, and I would like to find out the complexity of it, but there is recursion, and I don\'t know how to count with recursion. My code is:
I have an array of locations. Each of these locations can have child locations. Each of the child locations can also have children, and so on:
Ok I\'ve been banging my head against this one so long, I think I\'ve damaged my brain so much I forgot Shakespeare. It\'s ok, I don\'t use him that much. Here\'s my problem.
I need to remove all elements from a collection c that are less than a given object. The signature should be void removeLess(Collection c, Object o)
This is a simplified version of a class that I have in php: class someClass { public function edit_array($array) {