Different behaviour when run the same code on Leetcode and VScode
Here’s a code for the program using recursion,
“Given an integer n, return true if it is a power of three. Otherwise, return false.”
Here’s a code for the program using recursion,
“Given an integer n, return true if it is a power of three. Otherwise, return false.”