#Sorting Stack using Another Temp Stack

1 messages · Page 1 of 1 (latest)

fading pollenBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

coral walrus
#

so now my plan is to get Node that in this range Index = 4 and Index = Stack->list->len and do some caluclation to knwo the best Node to move it to stack_b temp stack using this method i will move the best node (Node that need less operation to move it to stack_b and Node that is close to Index = 4)

fading pollenBOT
#

@coral walrus

Please Do Not Delete Posts!

Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.

coral walrus
#

!solved