subet algo, hash table
From: someguy (inderjitrai_at_yahoo.com)
Date: 10/25/04
- Next message: Paul Lutus: "Re: subet algo, hash table"
- Previous message: Hal Rosser: "Re: sorting an ArrayList by int"
- Next in thread: Paul Lutus: "Re: subet algo, hash table"
- Reply: Paul Lutus: "Re: subet algo, hash table"
- Reply: Stefan Schulz: "Re: subet algo, hash table"
- Reply: Eric Sosman: "Re: subet algo, hash table"
- Reply: Oscar kind: "Re: subet algo, hash table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Oct 2004 15:58:02 -0500
Hi,
I'm trying to write a function in Java that takes in a string and
prints all the subsets (For example, if you are given "ABC", you would
print: A B C AB AC BC ABC). Any suggestions?
Also, how could a linked list and a hash table be combined to allow
someone to run through the list from item to item while still maintaining
the ability to access an individual element in O(1) time?
TIA
- Next message: Paul Lutus: "Re: subet algo, hash table"
- Previous message: Hal Rosser: "Re: sorting an ArrayList by int"
- Next in thread: Paul Lutus: "Re: subet algo, hash table"
- Reply: Paul Lutus: "Re: subet algo, hash table"
- Reply: Stefan Schulz: "Re: subet algo, hash table"
- Reply: Eric Sosman: "Re: subet algo, hash table"
- Reply: Oscar kind: "Re: subet algo, hash table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|