Introduction to Bit-masking

Learn the concept of bit-masking and solve two classic problems.

Problem statement - 1

Given a number n, calculate the value of 2n{2^n} ...