71.Power of Three Description Given an integer, write a function to determine if it is a power of three. Example1 Input: 3 Output: true Example2 Input: -7 Output: false From LeetCode