-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalgorithms.html
43 lines (43 loc) · 1.62 KB
/
algorithms.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
<!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.0">
<title>Algorithm Scripts</title>
<!-- Challenge Solutions --
<script src="./challenge_problems/challenge_solutions202210.js"></script> -->
<!-- Array Solutions --
<script src="./array_solutions/array_solutions_202210.js"></script> -->
<!-- <script src="./array_solutions/arrsol202206.js"></script> -->
<!-- Strings
<script src="./string_solutions/strsol202206.js"></script>
<script>
// This is used as a playground to test my code written in other imported Array scripts
console.log('#############');
console.log('String Algorithms');
// Problem 1
console.log('Reversing a string');
var phrase = ['h','e','l','l','o'];
console.log(`Original: [${phrase}]`);
phrase = reverseString(phrase);
console.log(`Reversed: [${phrase}]`);
// Problem 2 - Take a look at the functions
console.log('Reversing Integer');
var num = 123;
console.log(`Original: ${num.toString()}`);
num = reverse(num);
console.log(`Reversed: ${num.toString()}`);
</script>-->
<!-- Linked Lists --
<script src="./linked_list_solutions/llsol202206.js"></script> -->
<!-- Trees -->
<!-- Hash Tables -->
<script src="./hash_solutions/hashmap_solutions202210.js"></script>
<!-- Sorting and Searching -->
<!-- Dynamic Programming -->
<!-- Design -->
<!-- Math -->
<!-- Others -->
</head>
</html>