Skip to content

Commit

Permalink
Add Singly Linked List data structure
Browse files Browse the repository at this point in the history
  • Loading branch information
vadyushkins committed Jan 11, 2024
1 parent 425fb9e commit cbe9e2b
Show file tree
Hide file tree
Showing 22 changed files with 489 additions and 15 deletions.
2 changes: 1 addition & 1 deletion algorithms/bfs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<div id="hidden" style="display:none;">
<div id="header">
<a href="../index.html">vadyushkins</a><a href="./index.html#/1/1">&#183;Algorithms</a><a href="./dfs.html">&#183;BFS</a>
<a href="../index.html">vadyushkins</a><a href="./index.html#graphs">&#183;Algorithms</a><a href="./dfs.html">&#183;BFS</a>
</div>
</div>
<div class="reveal">
Expand Down
2 changes: 1 addition & 1 deletion algorithms/bridges.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<div id="hidden" style="display:none;">
<div id="header">
<a href="../index.html">vadyushkins</a><a href="./index.html#/1/1">&#183;Algorithms</a><a href="./bridges.html">&#183;Bridges</a>
<a href="../index.html">vadyushkins</a><a href="./index.html#graphs">&#183;Algorithms</a><a href="./bridges.html">&#183;Bridges</a>
</div>
</div>
<div class="reveal">
Expand Down
2 changes: 1 addition & 1 deletion algorithms/cutpoints.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<div id="hidden" style="display:none;">
<div id="header">
<a href="../index.html">vadyushkins</a><a href="./index.html#/1/1">&#183;Algorithms</a><a href="./cutpoints.html">&#183;Cutpoints</a>
<a href="../index.html">vadyushkins</a><a href="./index.html#graphs">&#183;Algorithms</a><a href="./cutpoints.html">&#183;Cutpoints</a>
</div>
</div>
<div class="reveal">
Expand Down
2 changes: 1 addition & 1 deletion algorithms/dfs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<div id="hidden" style="display:none;">
<div id="header">
<a href="../index.html">vadyushkins</a><a href="./index.html#/1/1">&#183;Algorithms</a><a href="./dfs.html">&#183;DFS</a>
<a href="../index.html">vadyushkins</a><a href="./index.html#graphs">&#183;Algorithms</a><a href="./dfs.html">&#183;DFS</a>
</div>
</div>
<div class="reveal">
Expand Down
2 changes: 1 addition & 1 deletion algorithms/dijkstra.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<div id="hidden" style="display:none;">
<div id="header">
<a href="../index.html">vadyushkins</a><a href="./index.html#/1/1">&#183;Algorithms</a><a href="./dijkstra.html">&#183;Dijkstra</a>
<a href="../index.html">vadyushkins</a><a href="./index.html#graphs">&#183;Algorithms</a><a href="./dijkstra.html">&#183;Dijkstra</a>
</div>
</div>
<div class="reveal">
Expand Down
14 changes: 12 additions & 2 deletions algorithms/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,18 @@
<h2>Algorithms</h2>
</section>
<section>
<section><h2>Graphs</h2></section>
<section>
<section id="data-structures">
<h2>Data Structures</h2>
<p>
<ol>
<li><a href="./singly-linked-list.html">Singly Linked List</a><br></li>
</ol>
</p>
</section>
</section>
<section>
<section id="graphs">
<h2>Graphs</h2>
<p>
<ol>
<li><a href="./dfs.html">Depth First Search</a><br></li>
Expand Down
2 changes: 1 addition & 1 deletion algorithms/sccs.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<body>
<div id="hidden" style="display:none;">
<div id="header">
<a href="../index.html">vadyushkins</a><a href="./index.html#/1/1">&#183;Algorithms</a><a href="./sccs.html">&#183;SCCS</a>
<a href="../index.html">vadyushkins</a><a href="./index.html#graphs">&#183;Algorithms</a><a href="./sccs.html">&#183;SCCS</a>
</div>
</div>
<div class="reveal">
Expand Down
412 changes: 412 additions & 0 deletions algorithms/singly-linked-list.html

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-1.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-2.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-5.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-6.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-example-7.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-pop-back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-pop-front.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-push-back.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-push-front.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions algorithms/static/sll/sll-structure.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions dist/theme/my-simple.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ section.has-dark-background h6 {
font-variant-ligatures: none;
--r-background-color: #fff;
--r-main-font: JetBrains Mono, sans-serif;
--r-main-font-size: 40px;
--r-main-font-size: 2.3em;
--r-main-color: #000;
--r-block-margin: 20px;
--r-heading-margin: 0 0 20px 0;
Expand Down Expand Up @@ -128,7 +128,7 @@ code[inline] {
color: #eb5757;
font-size: 85%;
padding: 0.1em 0.2em;
border-radius: 15px;
border-radius: 0.3em;
line-height: normal;
white-space: nowrap;
}
Expand Down Expand Up @@ -175,7 +175,7 @@ code[inline] {
.reveal ul {
display: inline-block;
text-align: left;
margin: 0 0 0 1em;
margin: 0 0 0 1.5em;
}

.reveal ol {
Expand All @@ -199,23 +199,23 @@ code[inline] {
.reveal ol ol,
.reveal ol ul {
display: block;
margin-left: 40px;
margin-left: 1.5em;
}

.reveal dt {
font-weight: bold;
}

.reveal dd {
margin-left: 40px;
margin-left: 1.5em;
}

.reveal blockquote {
display: block;
position: relative;
width: 70%;
margin: var(--r-block-margin) auto;
padding: 5px;
padding: 0.5em;
font-style: italic;
background: rgba(255, 255, 255, 0.05);
box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
Expand All @@ -236,7 +236,7 @@ code[inline] {
width: 90%;
margin: var(--r-block-margin) auto;
text-align: left;
font-size: 0.55em;
font-size: 0.65em;
font-family: var(--r-code-font);
line-height: 1.2em;
word-wrap: break-word;
Expand Down

0 comments on commit cbe9e2b

Please sign in to comment.