CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: sls98

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    7,281

    Re: Greedy Alogrithm Help

    so if i am confused now , so in the question it asks Does the greedy algorithm always give an optimal solution in the system of denominations d(1) = 1, d(2) = 7, d(3) = 10 and the answer provided was...
  2. Thread: Puzzle

    by sls98
    Replies
    1
    Views
    3,635

    Puzzle

    The desert lies before you. Your mission is to plant a flag a four days’ march into the interior. You do not have any special equipment and must rely on your own powers. Carrying food and the flag...
  3. Replies
    1
    Views
    1,509

    coin change problem

    Illustrate the execution of the Coin Change algorithm on n = 10 in the system of denominations d(1) = 1, d(2) = 5, and d(3) = 8.

    so i have n = 10 with denominations of d(1) = 1, d(2) = 5, d(3) = 8...
  4. Replies
    8
    Views
    7,281

    Re: Greedy Alogrithm Help

    hi,

    so how did u get the 35c. i don't understand that part?
  5. Replies
    8
    Views
    7,281

    Greedy Alogrithm Help

    Does the greedy algorithm always give an optimal solution in the system of denominations d(1) = 1, d(2) = 7, d(3) = 10? Justify answer. (If you say yes, prove it; if you say no, give a counter...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured