Leetcode 3181. Maximum Total Reward Using Operations II | Hello Interview