for placing police man we can use bellman ford bfs.or even make use of topological sort.
On Mon, Jun 7, 2010 at 9:59 PM, divya <[email protected]> wrote: > consider a tree. policemen is to be placed such that for each edge of > tree, there is a policeman on atleast one side of each edge. tell the > min no. of policemen and their locatn in time O(n) > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<algogeeks%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- yezhu malai vaasa venkataramana Govinda Govinda -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
