Programming experts

No.11491765 ViewReplyOriginalReport
Some smart person here who could explain to me if this is as simple as it sounds?

a) Calls subroutine C recursively on all elements from 2 to n.
b) Worst case is O(n^2) if numbers are in decending order as you'd have to do swaps and comparisons on all elements in the array?