Skip to content

Revert "Prodsa" #23

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs: # a collection of steps

- run:
name: generate PDF
command: cd book/config && make VERSION="$(npx -c 'echo "$npm_package_version"')"
command: cd book/config && make VERSION="$(npx -c 'echo "$npm_package_version"')" pdf

- store_artifacts:
path: book/dist
Expand Down
15 changes: 8 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ local.properties
# Ruby
######################
/.bundle/
/Gemfile.lock

######################
# Package Files
Expand Down Expand Up @@ -135,13 +136,13 @@ Desktop.ini
# ln -s ~/OneDrive/Authoring/dsaJS/asciidoc/book/fonts .
# ln -s ~/OneDrive/Authoring/dsaJS/asciidoc/book/images .
######################
# Gemfile
# Gemfile.lock
# Makefile
# _conf
# _resources
# extensions
# fonts
Gemfile
Gemfile.lock
Makefile
_conf
_resources
extensions
fonts


######################
Expand Down
101 changes: 50 additions & 51 deletions README.md

Large diffs are not rendered by default.

39 changes: 0 additions & 39 deletions book/A-time-complexity-cheatsheet.asc

This file was deleted.

155 changes: 155 additions & 0 deletions book/book-all.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
include::_conf/variables.adoc[]

= {doctitle}

// remove numbering from titles, and sub-titles e.g. 1.1
:sectnums!:

// Copyright © 2018 Adrian Mejia
include::chapters/colophon.adoc[]

// Abstract and Dedication MUST have a level-0 heading in EPUB and Kindle
// but level-1 in PDF and HTML
ifndef::backend-epub3[:leveloffset: +1]
include::chapters/dedication.adoc[]
ifndef::backend-epub3[:leveloffset: -1]

// TODO: pending
include::chapters/preface.adoc[]

include::chapters/cheatsheet.adoc[]

// add sections to chapters
:sectnums:

//
// chapters
//

= Algorithms Analysis

// TODO: pending
include::chapters/algorithms-analysis-intro.adoc[]

:leveloffset: +1

include::chapters/algorithms-analysis.adoc[]

include::chapters/big-o-examples.adoc[]

:leveloffset: -1

= Linear Data Structures

include::chapters/linear-data-structures-intro.adoc[]

:leveloffset: +1

include::chapters/array.adoc[]

include::chapters/linked-list.adoc[]

include::chapters/stack.adoc[]

include::chapters/queue.adoc[]

:leveloffset: -1

= Non-Linear Data Structures

include::chapters/non-linear-data-structures-intro.adoc[]

:leveloffset: +1

include::chapters/tree.adoc[]

include::chapters/binary-search-tree.adoc[]

include::chapters/map.adoc[]

include::chapters/set.adoc[]

include::chapters/graph.adoc[]


:leveloffset: -1

= Advanced Non-Linear Data Structures

// TODO: pending
include::chapters/non-linear-data-structures-intro-advanced.adoc[]

:leveloffset: +1

// TODO: pending
include::chapters/avl-tree.adoc[]

// TODO: pending (optional)
// include::chapters/red-black-tree.adoc[]

// TODO: pending
include::chapters/heap.adoc[]

// TODO: (optional) pending
// include::chapters/trie.adoc[]


:leveloffset: -1

= Algorithms

// TODO: pending
include::chapters/algorithms-intro.adoc[]

:leveloffset: +1

// TODO: pending
include::chapters/sorting-intro.adoc[]

//
// Slow Sorting
//

include::chapters/insertion-sort.adoc[]

include::chapters/selection-sort.adoc[]

include::chapters/bubble-sort.adoc[]

//
// Fast Sorting
//

include::chapters/merge-sort.adoc[]

include::chapters/quick-sort.adoc[]

// TODO: (optional) pending
// include::chapters/heap-sort.adoc[]

// TODO: (optional) pending
// include::chapters/tim-sort.adoc[]

//
// Searching
//

// TODO: pending
include::chapters/graph-search.adoc[]

:leveloffset: -1

//
// end chapters
//

include::chapters/epigraph.adoc[]

// TODO: (optional) pending
// include::chapters/appendix.adoc[]

// TODO: (optional) pending
ifdef::backend-pdf[]
include::chapters/index.adoc[]
endif::[]

Loading