Search
⌘K

Leetcode 1479. Sales by Day of the Week

Aggregate transaction records by mapping each sale date to its weekday and computing per-weekday sales totals (or averages), ensuring all seven weekdays are represented and returned in calendar order. The challenge centers on correct date-to-weekday conversion, grouping/aggregation (and possibly pivoting) over irregular date ranges and handling missing or null data.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.