Posted on June 17, 2021 Description Submission class Solution { public: bool isPowerOfThree(int n) { return n > 0 && 1162261467 % n == 0; } }; By Bill0412 Easy LeetCode