Search
⌘K
Get Premium
Leetcode 1716. Calculate Money in Leetcode Bank
Given n days, compute the total deposits where each week is an arithmetic sequence of seven days starting on Monday (first Monday = 1) and each subsequent Monday increases by 1, with daily deposits within a week increasing by 1; sum full weeks plus any remaining days.
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.