From 045d8ad1b5280f7b36c1a24eecff140a6ec515c9 Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Fri, 3 Nov 2023 22:57:38 -0400 Subject: [PATCH] feat: build out title --- index.css | 10 ++++- index.html | 4 +- problems.css | 3 -- problems.html | 35 ++------------- .../gruvbox-light.css | 0 problems/rainwater.html | 43 +++++++++++++++++++ 6 files changed, 57 insertions(+), 38 deletions(-) delete mode 100644 problems.css rename gruvbox-light.css => problems/gruvbox-light.css (100%) create mode 100644 problems/rainwater.html diff --git a/index.css b/index.css index 5598a0c..356022d 100644 --- a/index.css +++ b/index.css @@ -11,7 +11,7 @@ body { font-size: 1.5em; background-color: #f9f5d7; margin: 100px auto; - max-width: 650px; + max-width: 675px; scroll-behavior: smooth; overscroll-behavior-y: none; overscroll-behavior-x: none; @@ -44,7 +44,7 @@ html { white-space: nowrap; overflow: hidden; width: 0; - transition: all 0.5s ease; + transition: all 0.6s ease; display: inline-block; vertical-align: top; max-width: 0; @@ -73,3 +73,9 @@ html { color: inherit; text-decoration: none; } + +pre code.hljs { + border: 1px solid #ccc; + box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); + padding: 20px; +} diff --git a/index.html b/index.html index 49b564d..7d4931f 100644 --- a/index.html +++ b/index.html @@ -4,11 +4,11 @@ + - Barrett Ruth @@ -62,7 +62,7 @@

- problems + interview problems

resume

diff --git a/problems.css b/problems.css deleted file mode 100644 index a1694f7..0000000 --- a/problems.css +++ /dev/null @@ -1,3 +0,0 @@ -pre code.hljs { - background: #f9f5d7; -} diff --git a/problems.html b/problems.html index c1e0523..6328860 100644 --- a/problems.html +++ b/problems.html @@ -4,39 +4,12 @@ - - - - Problems - Sliding Window + Interview Problems -

Trapping the Rainwaters

-

Trapping Raintwaters Leetcode Problem Description

-

Example: Finding the maximum sum subarray of a fixed size.

-
-

Topic Relevance

-

- The sliding window algorithm is widely used in software development for - solving optimization problems, especially when dealing with arrays or - lists. It's useful in scenarios where you need to track a subset of data - within a larger dataset efficiently, making it a crucial tool in fields - like data analysis, machine learning, and others. -

- +

Problems

+

Description

+

Trapping Rainwater

diff --git a/gruvbox-light.css b/problems/gruvbox-light.css similarity index 100% rename from gruvbox-light.css rename to problems/gruvbox-light.css diff --git a/problems/rainwater.html b/problems/rainwater.html new file mode 100644 index 0000000..2c75b0f --- /dev/null +++ b/problems/rainwater.html @@ -0,0 +1,43 @@ + + + + + + + + + + Sliding Window + + +

Trapping the Rainwaters

+

Trapping Raintwaters Leetcode Problem Description

+

Example: Finding the maximum sum subarray of a fixed size.

+
+

Problem Statement

+ +

Constraints

+

Topic Relevance

+

+ The sliding window algorithm is widely used in software development for + solving optimization problems, especially when dealing with arrays or + lists. It's useful in scenarios where you need to track a subset of data + within a larger dataset efficiently, making it a crucial tool in fields + like data analysis, machine learning, and others. +

+ + +