Welcome to Westonci.ca, where you can find answers to all your questions from a community of experienced professionals. Explore our Q&A platform to find reliable answers from a wide range of experts in different fields. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

(1) [100 points] implement the function in such a way that your solution solves the problem with o(n log2(n)) time complexity overall but stays within the bounds of o(1) space complexity. here, n is the length of the list of input integers (array). i believe the sorting routine that should be used here is quick sort. please state as code comment which sorting routine you are using, sort the array with that algorithm and solve the de-duplication problem thereafter. de-duplication part of the solution in itself must adhere to o(n) time bound. however, at this stage of the course we will not be considering any memory used by recursion.