TikTok Interview Question

Leetcode mediums - Trees, recursion, Bits manipulation