Search
⌘K
Get Premium
Leetcode 1321. Restaurant Growth
Given a transactions table with at least one record per day, compute for each date the seven-day moving average of the daily total paid (current day plus the previous six days), rounded to two decimal places, and return results ordered by visited_on.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.