ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1028. Stars

if quicksort could cause stack overflow?
Posted by finalfantasy 2 Nov 2007 06:16
My solution is based on a structure called virtual binary search tree which comes from then way of binary search.
The process of search is iteration, not recurrency. The only process which uses recurrency is quicksort, if quicksort can cause stack overflow in test16???
Expecting~~~
Re: if quicksort could cause stack overflow?
Posted by Loky_Yuri [USTU Frogs] 2 Nov 2007 08:50
Yes, quicksort can, as any recursion. See FAQ.