Welcome to Westonci.ca, where your questions are met with accurate answers from a community of experts and enthusiasts. Get detailed and accurate answers to your questions from a community of experts on our comprehensive Q&A platform. Explore comprehensive solutions to your questions from a wide range of professionals on our user-friendly platform.

(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.