Microsoft Interview Question

leetcode DP and bitwise questions. Time and space analysis.