JOIN
 Select a Forum     Round Tables New Member Discussions News Discussions Algorithm Matches Marathon Matches NASA Tournament Lab TopCoder Cookbook High School Matches Sponsor Discussions Development Forums Design Forums Search | Watch Thread  |  My Post History  |  My Watches  |  User Settings View: Flat  | Threaded  | Tree Previous Thread  |  Next Thread Forums Tutorial Discussions Data Structures Tutorial Queues
 Queues | Reply Is it okay that we are considering only 3 directions in the Queue algo to solve for path from A to B. What if the path is like(we need to consider all 4 directions):A----------****----------**********|**|**********|**********|***---*******|**********|******|******|***********------*******|************************BAlso, if we take all the 4 directions, it might end up in loop.P.S: Hope the question is clear :)
 Subject Author Date Queues anujkrmodi Jul 12, 2012 at 12:54 PM EDT Re: Queues maniek Jul 31, 2012 at 4:20 AM EDT
 Forums Tutorial Discussions Data Structures Tutorial Queues Previous Thread  |  Next Thread