Thread: c - travelling through maze recursively & inserting nodes in all spaces

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #8
    misoturbutc Hodor's Avatar
    Join Date
    Nov 2013
    Posts
    1,787
    Quote Originally Posted by FirePandas View Post
    No that was given by my teacher. I meant under the function computeGraph. I'm not asking for help on the other parts of the program, my question is directed towards the computeGraph function only. I'm not concerned about the other parts yet.
    Ok, you haven't asked a question, but I'll ask you one. Forget about programming a solution for the moment. Can you solve the problem, for any of the mazes, using just pen and paper? Not solve as in develop an algorithm, but solve as in getting the answer. I think that would be a good first step.

    Edit: What I mean is forget about graphs and recursion and all that nonsense and just solve the problem on paper. Once you can solve it on paper then introspect and ask yourself "how did I do this?" After you can solve it on paper and rationalise how you solved it on paper then turn that into your program.
    Last edited by Hodor; 11-09-2019 at 06:53 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linked List - inserting nodes
    By johngoodman in forum C Programming
    Replies: 7
    Last Post: 02-19-2013, 12:13 AM
  2. Inserting Nodes at Binary Trees
    By blondeamon in forum C++ Programming
    Replies: 3
    Last Post: 12-25-2007, 08:27 AM
  3. Binary tree not inserting nodes correctly
    By jk1998 in forum C++ Programming
    Replies: 7
    Last Post: 09-22-2007, 12:37 PM
  4. inserting strings into linked list nodes
    By occams razor in forum C Programming
    Replies: 8
    Last Post: 03-31-2007, 12:17 AM
  5. Navigating a maze recursively
    By JOsephPataki in forum C Programming
    Replies: 4
    Last Post: 06-06-2003, 01:36 AM

Tags for this Thread