結果 : power of three leetcode solution