-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
199 lines (183 loc) · 9.36 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<!DOCTYPE html>
<html>
<head>
<title>Public Stackhouse</title>
<link href="assets/public-stackhouse-favicon.png" type="image/png" rel="shortcut icon" />
<meta property="og:url" content="https://captainstack.github.io/public-stackhouse/">
<meta property="og:description" content="Andre Stackhouse. Seattle based full stack engineer. Let's talk code." />
<meta property="og:image" content="assets/public-stackhouse.png">
<!-- Stylesheets -->
<link href="lib/prism/prism.css" rel="stylesheet" />
<link href="ui/main.css" rel="stylesheet" />
<link href="ui/header.css" rel="stylesheet" />
<link href="ui/home.css" rel="stylesheet" />
<link href="ui/footer.css" rel="stylesheet" />
<link href="lib/mocha/mocha.css" rel="stylesheet" />
</head>
<body>
<header>
<div id='header-content'>
<a id='home-link' href='.'>Public Stack<<span class='accent'>House</span>></a>
<nav>
<ul>
[<li><a href='portfolio'>Portfolio</a></li>,
<li><a href='resume'>Resume</a></li>,
<!-- <li><a href='https://medium.com/@CaptainStack/latest' target='_blank'>Blog</a></li>, -->
<li><a href='about'>About</a></li>]
</ul>
</nav>
</div>
<hr>
</header>
<h2>Employment Status: <span id='employment-status'>Available</span></h2>
<p>JavaScript functions are loaded into this page and can be run from the browser console.</p>
<div id='main-content'>
<div id="code-container">
<h3>Whiteboard</h3>
<select>
<option disabled selected>Ask me a coding question</option>
<optgroup label='Arrays & Strings'>
<option>check_permutation</option>
<option>urlify</option>
<option>one_away</option>
<option>string_compression</option>
<option>rotate_matrix</option>
<option>zero_matrix</option>
<option>string_rotation</option>
<option>print_combinations</option>
<option>validate_brackets</option>
<option>corresponding_bracket_index</option>
<option>ransom_note</option>
<option>sum_pairs_to_target</option>
<option>is_saturated</option>
<option>pretty_print</option>
</optgroup>
<optgroup label='Linked Lists'>
<option>remove_dupes</option>
<option>return_kth_to_last</option>
<option>delete_middle_node</option>
<option>partition</option>
<option>sum_lists</option>
<option>palindrome</option>
<option>intersection</option>
</optgroup>
<optgroup label='Stacks & Queues'>
<option>sort_stack</option>
</optgroup>
<optgroup label='Trees & Graphs'>
<option>route_between_nodes</option>
<option>minimal_tree</option>
<option>list_of_depths</option>
<option>check_balanced</option>
<option>is_binary_search_tree</option>
</optgroup>
<optgroup label='Recursion & Dynamic Programming'>
<option>triple_step</option>
<option>magic_index</option>
<option>recursive_multiply</option>
</optgroup>
<optgroup label='Sorting & Searching'>
<option>sorted_merge</option>
<option>search_in_rotated_array</option>
<option>binary_search</option>
</optgroup>
</select>
<pre class="line-numbers"><code class="language-javascript">solutions_will_be_displayed_here(input) {
// Problems will be specified in comments.
}</code></pre>
</div>
<div id="test-output">
<h3>Mocha Test Output</h3>
<button id='all-tests-button' title='Click to run all Mocha tests'>Run Tests ►</button>
<div id="mocha"></div>
</div>
</div>
<footer>
<div id='footer-content'>
<div><p>© 2024 by Andre Stackhouse</p></div>
<div id='footer-center'>
<a class='footer-links' href='https://www.linkedin.com/in/captainstack/' title='Find me on LinkedIn' target='_blank'>
<img src='./assets/linkedin-logo.svg' alt='LinkedIn Logo'>
</a>
<a class='footer-links' href='mailto:captainstack@gmail.com' title='Send me an email'>
<img src='./assets/email-logo.svg' alt='Email Logo'>
</a>
<a class='footer-links' href='http://stackoverflow.com/users/1542306/captain-stack' title='Find me on Stack Overflow' target='_blank'>
<img src='./assets/stack-overflow-logo.svg' alt='Stack Overflow Logo'>
</a>
<a class='footer-links' href='https://github.com/CaptainStack' title='Find me on GitHub' target='_blank'>
<img src='./assets/github-logo.svg' alt='GitHub Logo'>
</a>
</div>
<div><a href='https://github.com/CaptainStack/public-stackhouse' target='_blank'><p>View source on GitHub</p></a></div>
</div>
</footer>
<!-- Libraries -->
<script src="lib/prism/prism.js"></script>
<script src="lib/chai/chai.js"></script>
<script src="lib/mocha/mocha.js"></script>
<!-- Data Structures -->
<script src="data-structures/Array_Extensions.js"></script>
<script src="data-structures/Promise.js"></script>
<script src="data-structures/ListNode.js"></script>
<script src="data-structures/GraphNode.js"></script>
<script src="data-structures/Range.js"></script>
<script src="data-structures/TreeNode.js"></script>
<!-- Object Instances -->
<script src="object-instances/sample_arrays.js"></script>
<script src="object-instances/sample_graphs.js"></script>
<script src="object-instances/sample_linked_lists.js"></script>
<script src="object-instances/sample_strings.js"></script>
<script src="object-instances/sample_trees.js"></script>
<!-- Arrays and Strings -->
<script src="solutions/01-arrays-and-strings/01-02-check_permutation.js"></script>
<script src="solutions/01-arrays-and-strings/01-03-urlify.js"></script>
<script src="solutions/01-arrays-and-strings/01-05-one_away.js"></script>
<script src="solutions/01-arrays-and-strings/01-06-string_compression.js"></script>
<script src="solutions/01-arrays-and-strings/01-07-rotate_matrix.js"></script>
<script src="solutions/01-arrays-and-strings/01-08-zero_matrix.js"></script>
<script src="solutions/01-arrays-and-strings/01-09-string_rotation.js"></script>
<script src="solutions/01-arrays-and-strings/corresponding_bracket_index.js"></script>
<script src="solutions/01-arrays-and-strings/validate_brackets.js"></script>
<script src="solutions/01-arrays-and-strings/print_combinations.js"></script>
<script src="solutions/01-arrays-and-strings/ransom_note.js"></script>
<script src="solutions/01-arrays-and-strings/sum_pairs_to_target.js"></script>
<script src="solutions/01-arrays-and-strings/is_saturated.js"></script>
<script src="solutions/01-arrays-and-strings/pretty_print.js"></script>
<!-- Linked Lists -->
<script src="solutions/02-linked-lists/02-01-remove_dupes.js"></script>
<script src="solutions/02-linked-lists/02-02-return_kth_to_last.js"></script>
<script src="solutions/02-linked-lists/02-03-delete_middle_node.js"></script>
<script src="solutions/02-linked-lists/02-04-partition.js"></script>
<script src="solutions/02-linked-lists/02-05-sum_lists.js"></script>
<script src="solutions/02-linked-lists/02-06-palindrome.js"></script>
<script src="solutions/02-linked-lists/02-07-intersection.js"></script>
<!-- Stacks & Queues -->
<script src="solutions/03-stacks-and-queues/03-05-sort_stack.js"></script>
<!-- Trees and Graphs -->
<script src="solutions/04-trees-and-graphs/04-01-route_between_nodes.js"></script>
<script src="solutions/04-trees-and-graphs/04-02-minimal_tree.js"></script>
<script src="solutions/04-trees-and-graphs/04-03-list_of_depths.js"></script>
<script src="solutions/04-trees-and-graphs/04-04-check_balanced.js"></script>
<script src="solutions/04-trees-and-graphs/04-08-first_common_ancestor.js"></script>
<script src="solutions/04-trees-and-graphs/is_binary_search_tree.js"></script>
<!-- Recursion and Dynamic Programming -->
<script src="solutions/08-recursion-and-dynamic-programming/08-01-triple_step.js"></script>
<script src="solutions/08-recursion-and-dynamic-programming/08-03-magic_index.js"></script>
<script src="solutions/08-recursion-and-dynamic-programming/08-04-power_set.js"></script>
<script src="solutions/08-recursion-and-dynamic-programming/08-05-recursive_multiply.js"></script>
<script src="solutions/08-recursion-and-dynamic-programming/max_nonadjacent_subset.js"></script>
<!-- Sorting and Searching -->
<script src="solutions/10-sorting-and-searching/10-01-sorted_merge.js"></script>
<script src="solutions/10-sorting-and-searching/10-03-search_in_rotated_array.js"></script>
<script src="solutions/10-sorting-and-searching/binary_search.js"></script>
<!-- Test Scripts -->
<script src="test/check_permutation_test.js"></script>
<script src="test/one_away_test.js"></script>
<script src="test/string_compression_test.js"></script>
<script src="test/corresponding_bracket_index_test.js"></script>
<script src="test/sort_stack_test.js"></script>
<!-- UI Scripts -->
<script src="ui/ui.js"></script>
</body>
</html>