technique overview
-
-def maxArea(height: list[int]) -> int:
+
+ def maxArea(height: list[int]) -> int:
area = 0
l, r = 0, len(height) - 1
while l < r:
@@ -82,8 +82,8 @@ def maxArea(height: list[int]) -> int:
l += 1
while l < r and height[r] <= min_height:
r -= 1
- return area
-
+ return area
+
diff --git a/styles/post.css b/styles/post.css
index 35ff6bd..7f0841e 100644
--- a/styles/post.css
+++ b/styles/post.css
@@ -62,21 +62,29 @@ header {
left: -20px;
}
-article {
+.post-article {
font-size: 1.5em;
line-height: 1.3em;
padding-bottom: 50px;
}
-article h2 {
+.post-article h2 {
font-weight: normal;
font-style: italic;
}
-article h3 {
+.post-article h3 {
font-weight: normal;
}
-article a {
+.post-article a {
text-decoration: underline;
}
+
+.post-code {
+ display: flex;
+ justify-content: center;
+}
+.language-python {
+ font-size: 0.9em !important;
+}
-def maxArea(height: list[int]) -> int:
+
+ def maxArea(height: list[int]) -> int:
area = 0
l, r = 0, len(height) - 1
while l < r:
@@ -82,8 +82,8 @@ def maxArea(height: list[int]) -> int:
l += 1
while l < r and height[r] <= min_height:
r -= 1
- return area
-
+ return area
+
diff --git a/styles/post.css b/styles/post.css
index 35ff6bd..7f0841e 100644
--- a/styles/post.css
+++ b/styles/post.css
@@ -62,21 +62,29 @@ header {
left: -20px;
}
-article {
+.post-article {
font-size: 1.5em;
line-height: 1.3em;
padding-bottom: 50px;
}
-article h2 {
+.post-article h2 {
font-weight: normal;
font-style: italic;
}
-article h3 {
+.post-article h3 {
font-weight: normal;
}
-article a {
+.post-article a {
text-decoration: underline;
}
+
+.post-code {
+ display: flex;
+ justify-content: center;
+}
+.language-python {
+ font-size: 0.9em !important;
+}