Computer Science help
· 1) You created a sorting algorithm. Its running time turned out to be O(n^2). How much better can you make this algorithm ? You do not know the nature of the data except the elements are of the same type.
· 2) Your employee delivered an algorithm for solving a task. You were told the running time is O(n^3). You have a large amount of data to run through this algorithm. Your boss wants to know how long it will take for you to run this algorithm on the entire data set. What kind of guarantees can you make to your boss ? Please use constant c if needed.