Skip to content

Conversation

@akmhmgc
Copy link
Owner

@akmhmgc akmhmgc commented Oct 4, 2025

解いた問題

3. Longest Substring Without Repeating Characters

使用言語

Ruby

次に解く問題

209. Minimum Size Subarray Sum

@akmhmgc akmhmgc added the ruby label Oct 4, 2025
visited_char_to_index[str[right]] = right
end
max_size
end

Choose a reason for hiding this comment

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

良いと思いました。visited_char_to_index は難しいところですが、どういうインデックスかを説明する
char_to_last_index や char_to_last_seen_index もありかもしれません。やや長いので微妙でしょうか。

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants