summaryrefslogtreecommitdiff
path: root/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html')
-rw-r--r--gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html15
1 files changed, 6 insertions, 9 deletions
diff --git a/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html b/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html
index fe3846af..e6aaaa61 100644
--- a/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html
+++ b/gemfeed/2023-04-09-algorithms-and-data-structures-in-golang-part-1.html
@@ -12,6 +12,12 @@
<br />
<span class='quote'>Published at 2023-04-09T22:31:42+03:00</span><br />
<br />
+<span>This is the first blog post about my Algorithms and Data Structures in Go series. I am not a Software Developer in my day job. In my current role, programming and scripting skills are desirable but not mandatory. I have been learning about Data Structures and Algorithms many years ago at University. I thought it would be fun to revisit/refresh my knowledge here and implement many of the algorithms in Go.</span><br />
+<br />
+<a class='textlink' href='./2023-04-09-algorithms-and-data-structures-in-golang-part-1.html'>2023-04-09 Algorithms and Data Structures in Go - Part 1 (You are currently reading this)</a><br />
+<br />
+<span>This post is about setting up some basic data structures and methods for this blog series. I promise, everything will be easy to follow in this post. It will become more interesting later in this series.</span><br />
+<br />
<pre>
,_---~~~~~----._
_,,_,*^____ _____``*g*\"*,
@@ -30,21 +36,12 @@
<br />
<ul>
<li><a href='#algorithms-and-data-structures-in-go---part-1'>Algorithms and Data Structures in Go - Part 1</a></li>
-<li>⇢ <a href='#introduction'>Introduction</a></li>
<li>⇢ <a href='#type-constraints'>Type constraints</a></li>
<li>⇢ <a href='#arraylist'>ArrayList</a></li>
<li>⇢ <a href='#helper-methods'>Helper methods</a></li>
<li>⇢ <a href='#sleep-sort'>Sleep sort</a></li>
<li>⇢ ⇢ <a href='#testing'>Testing</a></li>
</ul><br />
-<h2 style='display: inline' id='introduction'>Introduction</h2><br />
-<br />
-<span>This is the first blog post about my Algorithms and Data Structures in Go series. I am not a Software Developer in my day job. In my current role, programming and scripting skills are desirable but not mandatory. I have been learning about Data Structures and Algorithms many years ago at University. I thought it would be fun to revisit/refresh my knowledge here and implement many of the algorithms in Go.</span><br />
-<br />
-<a class='textlink' href='./2023-04-09-algorithms-and-data-structures-in-golang-part-1.html'>2023-04-09 Algorithms and Data Structures in Go - Part 1 (You are currently reading this)</a><br />
-<br />
-<span>This post is about setting up some basic data structures and methods for this blog series. I promise, everything will be easy to follow in this post. It will become more interesting later in this series.</span><br />
-<br />
<h2 style='display: inline' id='type-constraints'>Type constraints</h2><br />
<br />
<span>First, the package <span class='inlinecode'>ds</span> (data structures) defines the <span class='inlinecode'>types.go</span>. All examples will either operate on the <span class='inlinecode'>Integer</span> or <span class='inlinecode'>Number</span> type:</span><br />