Binary Number With Alternating Bits Leetcode Problems On Stack