please give some hint or algorithm
Not able to understand problem
hello @Shubh-Garg-2556190207986238
the question is simple you are given two integers a and b you have count set bits for each number between a and b and output their sum.
simple approach will be to iterate from i -> a to b and then count number of set bit in each number and add it to ur sum
and then print the sum