Tap here to switch tabs
Problem
Submissions

Problem: Calculate Money in Leetcode Bank

med
30 min
Try to solve the Calculate Money in Leetcode Bank problem.

Statement

A person saves money in a bank account every day starting on Monday.

On the first Monday, they deposit $11. On each subsequent day from Tuesday through Sunday, they deposit $11 more than the amount deposited on the day before.

On each following Monday, they deposit $11 more than the amount deposited on the previous Monday.

Given an integer n, return the total amount of money deposited after n days.

Constraints:

  • 1≤1 \le n ≤1000\le 1000

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Calculate Money in Leetcode Bank

med
30 min
Try to solve the Calculate Money in Leetcode Bank problem.

Statement

A person saves money in a bank account every day starting on Monday.

On the first Monday, they deposit $11. On each subsequent day from Tuesday through Sunday, they deposit $11 more than the amount deposited on the day before.

On each following Monday, they deposit $11 more than the amount deposited on the previous Monday.

Given an integer n, return the total amount of money deposited after n days.

Constraints:

  • 1≤1 \le n ≤1000\le 1000