priority N-queue implementation needed

Discussion in 'C' started by rajkumar, Nov 10, 2006.

  1. rajkumar

    rajkumar New Member

    Joined:
    Nov 10, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hello ,

    please tell me how to implement priority N-queue.

    the problem statment is as fallows

    (Q)Describe possible variations on a “priority n-queue,” where each object
    in the queue is an n-tuple, with each element of the n-tuple having both
    a value and a priority. Write detailed specifications for three of the non-
    trivial cases (i.e., where more than 1 of the elements is considered to
    determine which object will be de-queued), and write implementations
    for all of them. Write a separate program which uses one or more of
    these implementations.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Search "priority Queue" without quotes using the above search box and you will some good samples links.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice