Aristocrat interview question

STL, Bitwise, Divide and Conquer, DP, Logical,