Results 1 to 2 of 2

Thread: Recursion help

  1. #1
    rjg_2186 is offline Member
    Join Date
    Jan 2009
    Posts
    1
    Rep Power
    0

    Default Recursion help

    hi guys,
    i hav prob wit recursion in implementing in to one prog
    i have a array like this..........
    array[0]=""
    array[1]="2";
    array[2]="3 7 1";
    array[3]="2 4";
    array[4]="3 5";
    array[5]="4 6";
    array[6]="8 5 7";
    array[7]="6 2";
    these index represent the values of a atom in a structure and the array elements are like as follows........

    atom 1 attached to atom 2
    atom 2 attached to atoms 3,7,1 etc..........
    the elements separated by space...........

    using recursion i want to get the connection one be one till the end so that i can find each atom links separately...............

    since i am beginner............ pl help.........

    Thank you

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,455
    Rep Power
    20

Similar Threads

  1. Please help with recursion
    By pheonix in forum New To Java
    Replies: 9
    Last Post: 12-27-2008, 12:41 PM
  2. Recursion
    By Zosden in forum Algorithms
    Replies: 4
    Last Post: 05-05-2008, 06:49 AM
  3. help with recursion
    By Nari in forum New To Java
    Replies: 15
    Last Post: 04-24-2008, 10:13 AM
  4. Help With Recursion
    By andrew777 in forum New To Java
    Replies: 1
    Last Post: 03-29-2008, 01:51 PM
  5. recursion
    By kdeighan in forum New To Java
    Replies: 3
    Last Post: 01-25-2008, 10:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •