Re: [Tutor] Breadth first search (fwd)

2006-02-09 Thread Danny Yoo
> I am new in Python so not sure how to do with Python to solve this > problem. Hi Nicky, Would you know how to do this problem in a different programming language? I'm not getting any sense at all at what experience or level you have. The question is just hard enough that asking it to a total

Re: [Tutor] Breadth first search (fwd)

2006-02-09 Thread Danny Yoo
[Forwarding the question on breadth first search to tutor] -- Forwarded message -- Date: Fri, 10 Feb 2006 07:25:05 +0800 From: Nicky Ng <[EMAIL PROTECTED]> To: Danny Yoo <[EMAIL PROTECTED]> Subject: Re: [Tutor] Breadth first search Dear Danny, I did not rea

Re: [Tutor] Breadth first search

2006-02-09 Thread Danny Yoo
On Thu, 9 Feb 2006, Nicky Ng wrote: > I would like to implement a breadth first serach with Python and read > data from a text file with following file format [cut] Hi Nicky, We've seen the problems from Programming Challenges: http://www.programming-challenges.com/pg.php?page=index and

Re: [Tutor] Breadth first search

2006-02-09 Thread Kent Johnson
Nicky Ng wrote: > Hi, > > I would like to implement a breadth first serach with Python and read > data from a text file with following file format > > Could you give me any idea how to implement this search program with Python? Hmm, sounds like homework to me. The first thing I would do is p

[Tutor] Breadth first search

2006-02-09 Thread Nicky Ng
Hi,   I would like to implement a breadth first serach with Python and read data from a text file with following file format   File structure description First line contains number of node Second line contains node id(s) and distance between node id Last line is -1   Each node or distance i