Leetcode 3180. Maximum Total Reward Using Operations I | Hello Interview