Skip to content

Container with most water#6

Merged
gyeo-ri merged 3 commits intomainfrom
container-with-most-water
Apr 11, 2026
Merged

Container with most water#6
gyeo-ri merged 3 commits intomainfrom
container-with-most-water

Conversation

@gyeo-ri
Copy link
Copy Markdown
Owner

@gyeo-ri gyeo-ri commented Apr 11, 2026

[κ²°κ³Ό μš”μ•½]

  • μ‹œλ„ν•œ 둜직 수: 3
    1. λͺ¨λ“  κ²°κ³Όλ£° μˆœνšŒν•˜λ©΄μ„œ μ‹œκ°„λ³΅μž‘λ„ O(n^2)을 μ‹œλ„ -> LeetCodeμ—μ„œ Time Limit Exceed λ°œμƒ
      image
    2. 리슀트 μ–‘μͺ½ λμ—μ„œ 포인터λ₯Ό μ΄λ™ν•˜λŠ” μ•Œκ³ λ¦¬μ¦˜: μ‹œκ°„/곡간 λͺ¨λ‘ O(n)
      image
    3. (2)의 λ‘œμ§μ€ μœ μ§€ν•œ μ±„λ‘œ μ½”λ“œ 가독성을 κ°œμ„ (μ•Œκ³ λ¦¬μ¦˜μ˜ 흐름을 μ‰½κ²Œ 이해할 수 μžˆλ„λ‘)
      • μ„±λŠ₯은 큰 차이 μ—†μŒ

@gyeo-ri gyeo-ri self-assigned this Apr 11, 2026
@gyeo-ri gyeo-ri merged commit 6b31bb8 into main Apr 11, 2026
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.

1 participant