Skip to content

300 longest increasing subsequence - #30

Open
MA-yo-TA wants to merge 3 commits into
mainfrom
300-Longest-Increasing-Subsequence
Open

300 longest increasing subsequence#30
MA-yo-TA wants to merge 3 commits into
mainfrom
300-Longest-Increasing-Subsequence

Conversation

@MA-yo-TA

@MA-yo-TA MA-yo-TA commented Aug 5, 2026

Copy link
Copy Markdown
Owner


class Solution:
def lengthOfLIS(self, nums: list[int]) -> int:
smallest_end_for_lis_lentgh: list[int] = []

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

自分なら length_to_min_tails と名付けるのですが、好みの問題かもしれません。

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

ありがとうございます
自分でも dict だとそのような key_to_value 型の命名をよくするので、それと同じようなものだと思えばそう名づけるのも良さそうです

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