new resume
This commit is contained in:
parent
ba5ca2ea1e
commit
6df5f716b8
7 changed files with 37 additions and 6 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
|
|
@ -62,7 +62,7 @@
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
<h2>
|
<h2>
|
||||||
<a href="problems.html">interview problems</a>
|
<a href="problems/index.html">interview problems</a>
|
||||||
</h2>
|
</h2>
|
||||||
<h2><a target="_blank" href="/public/resume.pdf">resume</a></h2>
|
<h2><a target="_blank" href="/public/resume.pdf">resume</a></h2>
|
||||||
<h2 style="display: none">
|
<h2 style="display: none">
|
||||||
|
|
|
||||||
28
problems/dynamic-programming.html
Normal file
28
problems/dynamic-programming.html
Normal 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>
|
||||||
|
|
@ -4,12 +4,13 @@
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<link rel="stylesheet" href="index.css" />
|
<link rel="stylesheet" href="../index.css" />
|
||||||
<title>Interview Problems</title>
|
<title>Interview Problems — Data Structures and Algorithms</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<h1>Problems</h1>
|
<h1>Problems</h1>
|
||||||
<p>Description</p>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
@ -27,7 +27,8 @@
|
||||||
</p>
|
</p>
|
||||||
<script>
|
<script>
|
||||||
const code = document.querySelector(".trapping-rainwater");
|
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;
|
auto l = height.begin(), r = height.end() - 1;
|
||||||
int level = 0, water = 0;
|
int level = 0, water = 0;
|
||||||
while (l != r + 1) {
|
while (l != r + 1) {
|
||||||
|
|
@ -36,7 +37,8 @@
|
||||||
water += level - lower;
|
water += level - lower;
|
||||||
}
|
}
|
||||||
return water;
|
return water;
|
||||||
}`;
|
}
|
||||||
|
`;
|
||||||
hljs.highlightAll();
|
hljs.highlightAll();
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
BIN
public/.DS_Store
vendored
Normal file
BIN
public/.DS_Store
vendored
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue