Check if Kth Bit Is Set/Unset
In this article, we try to find a bit in the binary representation of a number at the kth position and check if it is set/un-set.
Introduction
In this question, input a number and check if the kth bit is set or not.
Problem statement
Given two positi...
ggorantala.hashnode.dev4 min read