Skip to content

560. Subarray Sum Equals K#15

Open
tom4649 wants to merge 1 commit intomainfrom
560.Subarray-Sum-Equals-K
Open

560. Subarray Sum Equals K#15
tom4649 wants to merge 1 commit intomainfrom
560.Subarray-Sum-Equals-K

Conversation

@tom4649
Copy link
Copy Markdown
Owner

@tom4649 tom4649 commented Mar 14, 2026


- 累積和は自力で思いついてかけた(sol1.py)
- 累積和配列を作って逆順に数える。やや冗長。
- ちょっと考えると一巡で書ける(sol2.py)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

書けてから変形を考えるのも大事ですね。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants