Search:

Type: Posts; User: copeg

Search: Search took 0.25 seconds.

  1. Replies
    22
    Views
    2,460

    Re: Help with 2-d arrays, tough problem

    google 'java data structures'. You should find tons of explanations and examples. Keep in mind the many different data structures available (see List of data structures - Wikipedia, the free...
  2. Replies
    22
    Views
    2,460

    Re: Help with 2-d arrays, tough problem

    Are you familiar with data structures? Linked lists? Graphs? Recursively traversing these data structures? I'd start there. I'm not intentionally trying to be vague, but this is an advanced but...
  3. Replies
    22
    Views
    2,460

    Re: Help with 2-d arrays, tough problem

    Break down the problem. Think about the topics I mentioned above. Imaging each corner is a Node you wish to traverse through - to traverse you can go one of two directions (except for the edge Nodes...
  4. Replies
    22
    Views
    2,460

    Re: Help with 2-d arrays, tough problem

    Sounds like project Euler to me...write out how you would do this for a smaller grid, then extrapolate that to a larger one. If you are looking for a brute-force way, give some thought to graphs (the...
Results 1 to 4 of 4