@JeanNascimentosuissa

thanks man!

@xhpfanx

great content! really appreciate you doing this in JavaScript!

@thekp5466

i need more of these videos

@abhishekkeshri3974

bool isPowerOfThree(int n) {
        if(n<=0)return false;
        if(n==1)return true;
        return (floor(log10(n)/log10(3))==log10(n)/log10(3));  
    }

O(1)

@wingdphoto

Follow up: Could you solve it without loops/recursion?

@akash_gupta_2090

why u stop making video please upload more and more video on problem sloving