1780. Check if Number is a Sum of Powers of Three - Medium | DSA Corner | Talentd