Forum: Java Mar 19th, 2006 |
| Replies: 0 Views: 1,062 How can one use recursion to get the following representations of a given word e.g. 'CARE':
C#ARE
AC#RE
RAC#E
ERAC#
Heres my attempt but i only manage to get the first representation,... |
Forum: XML, XSLT and XPATH Mar 15th, 2006 |
| Replies: 1 Views: 4,536 HI,
Im relatively new to XML and was wondering how I could use DOM to produce a "per shop" report showing a list of the items available in the given shop (shop 1 first then 2), the item... |
Forum: XML, XSLT and XPATH Mar 10th, 2006 |
| Replies: 6 Views: 4,303 HI,
Im relatively new to XML and was wondering how I could use DOM to produce a "per shop" report showing a list of the items available in the given shop (shop 1 first then 2), the item... |
Forum: Computer Science Mar 8th, 2006 |
| Replies: 0 Views: 2,573 Just wondering if there can be a raw ASCII input where the same token (e.g 257 = at) appears numerous times (say 100) in the compressed output?
what ever the solution is whats the reasoning... |
Forum: Java Dec 9th, 2005 |
| Replies: 0 Views: 1,330 HI,
I wanted to know how could I retrieve a sealed object from a signed object and then verify it?
Heres my attempt:
if(!sending){//if we are receiving (being the server)
... |
Forum: Computer Science Nov 23rd, 2005 |
| Replies: 5 Views: 4,348 Well I want to start the search from the root node. How can I represent the edges that the node has? once the computer knows if the edge exists if will follow this edge through to it destination... |
Forum: Computer Science Nov 22nd, 2005 |
| Replies: 5 Views: 4,348 how would i know which node im talking about, i want to do it so that the program checks individual characters rather than prefixes. so i would have to check a nodes children but how can i determine... |
Forum: Computer Science Nov 21st, 2005 |
| Replies: 5 Views: 4,348 Hi All,
Im trying to implement a trie in java(which is basically a tree used to store words). I have the following method to add a word but am unsure how i would go about check to see if the... |
Forum: Java Nov 20th, 2005 |
| Replies: 2 Views: 2,115 Hi all,
I am trying to take a list of words (from a text file) and then split each word into characters how can I do this?
The code I currently have just reads in all the words (at, as, ate,... |
Forum: Java Nov 11th, 2005 |
| Replies: 3 Views: 2,845 Hi all,
I would like some ideas as to how I would go about developing a trie to store a very small dictionary (of about 10 words). How would I get the program to get each word and make the... |
Forum: Java Jun 13th, 2005 |
| Replies: 3 Views: 3,041 do you think i could use a hash map to code something like this or is that an inefficient way of going about it |
Forum: Java Jun 8th, 2005 |
| Replies: 3 Views: 3,041 hey,
wanted to know if anyone knew how we would use a 'directed acyclic word graph' (dawg) to generate a computer players move in scrabble. Know of any algorithms, have you got any code snippets... |
Forum: DaniWeb Community Feedback Jun 6th, 2005 |
| Replies: 44 Views: 7,518 I think that would be a great idea since im having to ask gaming questions in the java forum rather than a specific forum for games.
By the way can anyone gove me advice on how to implement a... |
Forum: Java Jun 6th, 2005 |
| Replies: 1 Views: 2,082 HI,
I am trying to implement a scrabble computer player that is capable of beating a human player. I dont not know how to go about starting this project (other than designing a GUI for the game... |