Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. queues to find minimum time to serve all.

queues to find minimum time to serve all.

Scheduled Pinned Locked Moved C / C++ / MFC
helpdata-structurestutoriallearning
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    fecomevi
    wrote on last edited by
    #1

    I am a beginner in programming and I am trying to solve this problem using queues. I can't seem to come with an idea to solve it. :confused: Can you help please, it is a problem just to learn about how to approach queue problems. :confused:

    T L D 3 Replies Last reply
    0
    • F fecomevi

      I am a beginner in programming and I am trying to solve this problem using queues. I can't seem to come with an idea to solve it. :confused: Can you help please, it is a problem just to learn about how to approach queue problems. :confused:

      T Offline
      T Offline
      trønderen
      wrote on last edited by
      #2

      The very minimum for you to do is to describe the problem, more than "this problem". Then you should go on to show what you have done, and where you are stuck. You can't expect people to promise to solve your problems when you haven't even told what the problem is!

      1 Reply Last reply
      0
      • F fecomevi

        I am a beginner in programming and I am trying to solve this problem using queues. I can't seem to come with an idea to solve it. :confused: Can you help please, it is a problem just to learn about how to approach queue problems. :confused:

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        Use Google to learn about queue theory: queue minimum time - Google Search[^]

        1 Reply Last reply
        0
        • F fecomevi

          I am a beginner in programming and I am trying to solve this problem using queues. I can't seem to come with an idea to solve it. :confused: Can you help please, it is a problem just to learn about how to approach queue problems. :confused:

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          fecomevi wrote:

          Can you help please, it is a problem just to learn about how to approach queue problems.

          A queue is a FIFO data structure. What exactly are you doing with it? Are you using std::queue, or a home-grown version? What code do you have in place so far?

          "One man's wage rise is another man's price increase." - Harold Wilson

          "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

          "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups