Highest-Earning Experience Tracker

Asked at Roblox · Coding Questions · Difficulty: Medium · Last asked Mar 10, 2026

You are building a real-time analytics component that tracks which experience is the most profitable as profit changes over time. Each experience has a running total that starts at 0 the first time it is mentioned and moves up or down with every update. At any moment a query asks which experience currently has the highest total.

Loading the problem…