Check if Number is a Sum of Powers of Three - Leetcode 1780 - Python

Click a thumbnail to watch in a lightweight modal. (No downloads — view only.)