PROBLEM link Uva1062 Submit Link
binary tree ( set/multiset in c++ or TreeSet in java)
Golu wants to find out the sum of Lucky numbers.Lucky numbers are those numbers which contain exactly two set bits.This task is very difficult for him.So Help Golu to find sum of those numbers which exactly contain two set bits up to a…