new resume

This commit is contained in:
Barrett Ruth 2024-01-04 17:40:10 -06:00
parent ba5ca2ea1e
commit 6df5f716b8
7 changed files with 37 additions and 6 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View file

@ -62,7 +62,7 @@
</li>
</ol>
<h2>
<a href="problems.html">interview problems</a>
<a href="problems/index.html">interview problems</a>
</h2>
<h2><a target="_blank" href="/public/resume.pdf">resume</a></h2>
<h2 style="display: none">

View file

@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.3.1/highlight.min.js"></script>
<link rel="stylesheet" href="gruvbox-light.css" />
<link rel="stylesheet" href="../index.css" />
<title>Dynamic Programming</title>
</head>
<body>
<h1>Dynamic Programming</h1>
<p>Trapping Raintwaters Leetcode Problem Description</p>
<pre><code class="trapping-rainwater"></code></pre>
<h2>Problem Statement</h2>
<p>hi</p>
<script>
const code = document.querySelector(".trapping-rainwater");
code.textContent = `
int trap(vector<int>& height) {
some code
}
`;
hljs.highlightAll();
</script>
</body>
</html>

View file

@ -4,12 +4,13 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="index.css" />
<title>Interview Problems</title>
<link rel="stylesheet" href="../index.css" />
<title>Interview Problems &#8212; Data Structures and Algorithms</title>
</head>
<body>
<h1>Problems</h1>
<p>Description</p>
<a href="problems/rainwater.html"><h2>Trapping Rainwater</h2></a>
<a href="rainwater.html"><h2>Trapping Rainwater</h2></a>
<a href="dynamic-programming.html"><h2>Dynamic Programming</h2></a>
</body>
</html>

View file

@ -27,7 +27,8 @@
</p>
<script>
const code = document.querySelector(".trapping-rainwater");
code.textContent = `int trap(vector<int>& height) {
code.textContent = `
int trap(vector<int>& height) {
auto l = height.begin(), r = height.end() - 1;
int level = 0, water = 0;
while (l != r + 1) {
@ -36,7 +37,8 @@
water += level - lower;
}
return water;
}`;
}
`;
hljs.highlightAll();
</script>
</body>

BIN
public/.DS_Store vendored Normal file

Binary file not shown.

Binary file not shown.