text: Returns numeric value of a subsequence of s . The subsequence to be picked is decided using bit pattern of num ( We pick all thosedigits for which there is a set bit in num )
code: def findSubSequence ( s , num ) : NEW_LINE