Skip to content

Commit 416d65b

Browse files
jamiebaseDaleSeo
andauthored
Update container-with-most-water/gcount85.py
Co-authored-by: Dale Seo <5466341+DaleSeo@users.noreply.github.com>
1 parent c1627a0 commit 416d65b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

โ€Žcontainer-with-most-water/gcount85.pyโ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
22
# Approach
33
ํˆฌํฌ์ธํ„ฐ๋กœ ์–‘ ๋์—์„œ ๋ฌผ์˜ ์–‘์„ ๊ณ„์‚ฐํ•ด๋‚˜๊ฐ‘๋‹ˆ๋‹ค.
4-
๋” ๋‚ฎ์€ height์ธ ์ชฝ์˜ ํฌ์ธํ„ฐ๋ฅผ ์ค„์—ฌ๋‚˜๊ฐ€๋Š”๋ฐ, ๋†’์ด๊ฐ€ ๊ฐ™์€ ๊ฒฝ์šฐ์—๋Š” ์–‘์ชฝ ๋ชจ๋‘ ํฌ์ธํ„ฐ๋ฅผ ์›€์ง์ž…๋‹ˆ๋‹ค.
4+
๋” ๋‚ฎ์€ height์ธ ์ชฝ์˜ ํฌ์ธํ„ฐ๋ฅผ ์ค„์—ฌ๋‚˜๊ฐ€๋Š”๋ฐ, ๋†’์ด๊ฐ€ ๊ฐ™์€ ๊ฒฝ์šฐ์—๋Š” ์™ผ์ชฝ ํฌ์ธํ„ฐ๋งŒ ์›€์ง์ž…๋‹ˆ๋‹ค.
55
66
# Complexity
77
height์˜ ๊ธธ์ด๊ฐ€ N์ผ ๋•Œ

0 commit comments

Comments
ย (0)