|
| 1 | +include::_conf/variables.adoc[] |
| 2 | + |
| 3 | += {doctitle} |
| 4 | + |
| 5 | +// remove numbering from titles, and sub-titles e.g. 1.1 |
| 6 | +:sectnums!: |
| 7 | + |
| 8 | +// Copyright © 2018 Adrian Mejia |
| 9 | +include::chapters/colophon.adoc[] |
| 10 | + |
| 11 | +// Abstract and Dedication MUST have a level-0 heading in EPUB and Kindle |
| 12 | +// but level-1 in PDF and HTML |
| 13 | +ifndef::backend-epub3[:leveloffset: +1] |
| 14 | +include::chapters/dedication.adoc[] |
| 15 | +ifndef::backend-epub3[:leveloffset: -1] |
| 16 | + |
| 17 | +// TODO: pending |
| 18 | +include::chapters/preface.adoc[] |
| 19 | + |
| 20 | +include::chapters/cheatsheet.adoc[] |
| 21 | + |
| 22 | +// add sections to chapters |
| 23 | +:sectnums: |
| 24 | + |
| 25 | +// |
| 26 | +// chapters |
| 27 | +// |
| 28 | + |
| 29 | += Algorithms Analysis |
| 30 | + |
| 31 | +// TODO: pending |
| 32 | +include::chapters/algorithms-analysis-intro.adoc[] |
| 33 | + |
| 34 | +:leveloffset: +1 |
| 35 | + |
| 36 | +include::chapters/algorithms-analysis.adoc[] |
| 37 | + |
| 38 | +include::chapters/big-o-examples.adoc[] |
| 39 | + |
| 40 | +:leveloffset: -1 |
| 41 | + |
| 42 | += Linear Data Structures |
| 43 | + |
| 44 | +include::chapters/linear-data-structures-intro.adoc[] |
| 45 | + |
| 46 | +:leveloffset: +1 |
| 47 | + |
| 48 | +include::chapters/array.adoc[] |
| 49 | + |
| 50 | +include::chapters/linked-list.adoc[] |
| 51 | + |
| 52 | +include::chapters/stack.adoc[] |
| 53 | + |
| 54 | +include::chapters/queue.adoc[] |
| 55 | + |
| 56 | +:leveloffset: -1 |
| 57 | + |
| 58 | += Non-Linear Data Structures |
| 59 | + |
| 60 | +include::chapters/non-linear-data-structures-intro.adoc[] |
| 61 | + |
| 62 | +:leveloffset: +1 |
| 63 | + |
| 64 | +include::chapters/tree.adoc[] |
| 65 | + |
| 66 | +include::chapters/binary-search-tree.adoc[] |
| 67 | + |
| 68 | +include::chapters/map.adoc[] |
| 69 | + |
| 70 | +include::chapters/set.adoc[] |
| 71 | + |
| 72 | +include::chapters/graph.adoc[] |
| 73 | + |
| 74 | + |
| 75 | +:leveloffset: -1 |
| 76 | + |
| 77 | += Advanced Non-Linear Data Structures |
| 78 | + |
| 79 | +// TODO: pending |
| 80 | +include::chapters/non-linear-data-structures-intro-advanced.adoc[] |
| 81 | + |
| 82 | +:leveloffset: +1 |
| 83 | + |
| 84 | +// TODO: pending |
| 85 | +include::chapters/avl-tree.adoc[] |
| 86 | + |
| 87 | +// TODO: pending (optional) |
| 88 | +// include::chapters/red-black-tree.adoc[] |
| 89 | + |
| 90 | +// TODO: pending |
| 91 | +include::chapters/heap.adoc[] |
| 92 | + |
| 93 | +// TODO: (optional) pending |
| 94 | +// include::chapters/trie.adoc[] |
| 95 | + |
| 96 | + |
| 97 | +:leveloffset: -1 |
| 98 | + |
| 99 | += Algorithms |
| 100 | + |
| 101 | +// TODO: pending |
| 102 | +include::chapters/algorithms-intro.adoc[] |
| 103 | + |
| 104 | +:leveloffset: +1 |
| 105 | + |
| 106 | +// TODO: pending |
| 107 | +include::chapters/sorting-intro.adoc[] |
| 108 | + |
| 109 | +// |
| 110 | +// Slow Sorting |
| 111 | +// |
| 112 | + |
| 113 | +include::chapters/insertion-sort.adoc[] |
| 114 | + |
| 115 | +include::chapters/selection-sort.adoc[] |
| 116 | + |
| 117 | +include::chapters/bubble-sort.adoc[] |
| 118 | + |
| 119 | +// |
| 120 | +// Fast Sorting |
| 121 | +// |
| 122 | + |
| 123 | +include::chapters/merge-sort.adoc[] |
| 124 | + |
| 125 | +include::chapters/quick-sort.adoc[] |
| 126 | + |
| 127 | +// TODO: (optional) pending |
| 128 | +// include::chapters/heap-sort.adoc[] |
| 129 | + |
| 130 | +// TODO: (optional) pending |
| 131 | +// include::chapters/tim-sort.adoc[] |
| 132 | + |
| 133 | +// |
| 134 | +// Searching |
| 135 | +// |
| 136 | + |
| 137 | +// TODO: pending |
| 138 | +include::chapters/graph-search.adoc[] |
| 139 | + |
| 140 | +:leveloffset: -1 |
| 141 | + |
| 142 | +// |
| 143 | +// end chapters |
| 144 | +// |
| 145 | + |
| 146 | +include::chapters/epigraph.adoc[] |
| 147 | + |
| 148 | +// TODO: (optional) pending |
| 149 | +// include::chapters/appendix.adoc[] |
| 150 | + |
| 151 | +// TODO: (optional) pending |
| 152 | +ifdef::backend-pdf[] |
| 153 | +include::chapters/index.adoc[] |
| 154 | +endif::[] |
| 155 | + |
0 commit comments