Quick Sort In Leetcode Problems Python