Answer:
a) 4 passes are required to sort the string.
b) 4
c) i) TARP
ii) CHIP
iii) PART
iv) TARP
v) TARP
d) O(k+n), n is no. of strings, k is largest no. of character in among the string
O(d*(n+10)), n is no. of integers
Step-by-step explanation:
5.1m questions
6.7m answers