Leetcode Quick Sort In Cpp Array Declaration