Quick Sort Problem In Leetcode Javascript 30