an old worn interview question
- From: Tegiri Nenashi <TegiriNenashi@xxxxxxxxx>
- Date: Mon, 17 Sep 2007 15:09:27 -0700
"given a graph of pointers, can you find a loop there"
I must admit that during 20 or so years of programming I never came
across any practical program that required finding a loop in the
directed graph. I suspect that finding a loop is really a part of
bigger task such as finding transitive closure of a graph. And the
tricks of finding a single loop provide no insight how to solve bigger
problem. So, any counter examples of an interesting problem, or an
algorithm that requires finding a single loop in the graph?
.
- Follow-Ups:
- Re: an old worn interview question
- From: Phlip
- Re: an old worn interview question
- From: Ravishankar S
- Re: an old worn interview question
- From: Ben Pfaff
- Re: an old worn interview question
- From: user923005
- Re: an old worn interview question
- From: robertwessel2@xxxxxxxxx
- Re: an old worn interview question
- Prev by Date: Re: Should I believe the Occupational Outlook Handbook?
- Next by Date: Re: About disassemblers
- Previous by thread: Best way to match string in a set
- Next by thread: Re: an old worn interview question
- Index(es):
Relevant Pages
|