Leetcode 3530. Maximum Profit from Valid Topological Order in DAG | Hello Interview