
October 28th, 2012, 08:43 AM
|
|
Registered User
|
|
Join Date: Sep 2012
Posts: 10
Time spent in forums: 3 h 37 m 2 sec
Reputation Power: 0
|
|
|
I can not sort a pile.
Hello everybody!
Guys, I can not sort the stack. I created a new cell to house the numbers ordered, but she will see this as only houses where the largest number of the stack master. Someone please help me! Data structure is killing me!
I'll just pass the function code:
function sort
library
My logic was to find as many save the largest number in "bigger". Therein stack "stack" was empty so I use the stack "pilhaAux" to stack the numbers in "stack" but if you think the greatest, not including the stack "stack."
Suggestions are very welcome!
|