Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   C++ (http://www.velocityreviews.com/forums/f39-c.html)
-   -   Can anyone implement the pseudocode for the maximal rectangle problem ? (http://www.velocityreviews.com/forums/t745758-can-anyone-implement-the-pseudocode-for-the-maximal-rectangle-problem.html)

Dan 03-26-2011 11:47 AM

Can anyone implement the pseudocode for the maximal rectangle problem ?
 
I feel very dumb for asking this , basically I don't understand the
algorithm ..... If I had working code , maybe I could step it on
examples until I get what it's doing .

http://drdobbs.com/database/184410529
The full algorithm is in listing 4 .

Öö Tiib 03-26-2011 06:26 PM

Re: Can anyone implement the pseudocode for the maximal rectangleproblem ?
 
On Mar 26, 1:47*pm, Dan <dan.ms.ch...@gmail.com> wrote:
> I feel very dumb for asking this , basically I don't understand the
> algorithm ..... If I had working code , maybe I could step it on
> examples *until I get what it's doing .
>
> http://drdobbs.com/database/184410529
> The full algorithm is in listing 4 .


Did you read the article? It is puzzle. Puzzles are for fun, article
is spoilers by Daveed.

If even spoilers are complex then do not jump into end and take
pseudocode of final solution. That way you will remain dumb even with
all spoilers in your hands. Take it step-by-step from start and if
needed implement all the algorithms from listings 1 to 4. When you
have some difficulty with C++ code of yours then you come ask here.


All times are GMT. The time now is 10:18 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57