diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..9061e72 --- /dev/null +++ b/LICENSE @@ -0,0 +1,20 @@ +Copyright (c) 2023 Joseph Ferano - joseph@ferano.io + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/TheAlgorithmDesignManual.org b/Notes.org similarity index 99% rename from TheAlgorithmDesignManual.org rename to Notes.org index 09f6942..b30297b 100644 --- a/TheAlgorithmDesignManual.org +++ b/Notes.org @@ -1,4 +1,3 @@ -#+TITLE: Notes & Exercises: The Algorith Design Manual #+AUTHOR: Joseph Ferano #+STARTUP: overview #+OPTIONS: ^:{} @@ -1249,7 +1248,7 @@ of asking if some vertices are reachable from a node. ** 6.4 War Story -Kids are probably young to know what the author is even talking about with these +Kids are probably too young to know what the author is even talking about with these phone codes. ** 6.5 Network Flows and Bipartite Matching diff --git a/README.org b/README.org new file mode 100644 index 0000000..55aa18b --- /dev/null +++ b/README.org @@ -0,0 +1,23 @@ +* About + +[[./Notes.org]] contains notes and solutions to exercises, as well as +implementations of [[https://www.algorist.com/][The Algorithm Design Manual]]. All notes and source code can be +found in this single file and the reason for that is that it uses a style of +programming known as [[https://en.wikipedia.org/wiki/Literate_programming][Literate Programming]] with the help of Emacs, org-mode, and +[[https://orgmode.org/worg/org-contrib/babel/intro.html][org-babel]]. Most code implementations are done in C, however, some have been also +implemented in Python or OCaml in order to compare and contrast styles. All code +is executable from within Emacs by just running ~C-c C-c~ while the cursor is in +the source code block. + +* Progress + +So far, the first 6 chapters have a decent amount of coverage. The focus is more +on implementing the actual data structures and algorithms discussed in the book, +rather than working through the exercises, although some have solutions. I plan +on revisiting the book from time to time, to keep developing my knowledge of +Data Structures and Algorithms. + + +* Screenshot of org-mode + +[[./screenshot.png]] diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..f2066fd Binary files /dev/null and b/screenshot.png differ