algorithms & data structures writing question and need the explanation and answer to help me learn.

Requirements: Java
Assignment 1: Data structures and algorithm Assignment requirements  Use Java to implement your solution  Comment your code properly  You may use google to help you understand the project  No code generation( Do not use ChatGPT) Description Implement Quick sort algorithm using the median of three. You are allowed to write helper methods but ensure they are named properly. Write a class named “MedianOfThree” and write your methods inside it. Create an instance of the class inside the main method to test the methods. Your program will be tested against different arrays of data so do not hardcode anything. Grading Grading will be based on correctness and efficiency. Make sure your solution is efficient. Programs with logical and syntax errors with receive zero automatically.