Assume that the algorithms considered here sort the input sequences in ascending order. If the input is already in ascending order, which of the following are TRUE? I. Quicksort runs in \(\Theta (n^{2})\) time II. Bubblesort runs in \(\Theta (n^{2})\) time III. Merge sort runs in \(\Theta (n)\) time IV. Insertion sort runs in \(\Theta (n)\) time
- AI and II only
- BI and III only
- CII and IV only
- DI and IV only