LOL, according to your definition , pyramid would look like this
o
oo
oo
oo
oo
oo
oo
oo
oo

2009/1/19 Darth Continent <darthcontin...@gmail.com>

>
> Hello, when I searched I found a couple of spam posts for pyramid
> scams, so I'm hoping someone may be able to help.
>
> Say you have a collection of stackable objects, like blocks or boxes.
> You need to stack them in a pyramid as tall as possible, so that no
> more than 1-2 of the objects is at the top level, and so that each
> layer is larger than the first, for example:
>
> O
> OO
> OOO
> OOOO
>
> Given the total number of stackable objects, what would be an
> effective looping algorithm to make this happen?  Thanks in advance
> for any help.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/algogeeks
-~----------~----~----~----~------~----~------~--~---

Reply via email to