Count Inversion Leetcode Problem Set Stoichiometry