Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b3bccf3

Browse files
rename bst
1 parent c338ac0 commit b3bccf3

File tree

4 files changed

+18
-29
lines changed

4 files changed

+18
-29
lines changed

‎book/book.adoc‎

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ include::chapters/non-linear-data-structures-intro.adoc[]
7777
include::chapters/tree.adoc[]
7878

7979
// (g)
80-
include::chapters/binary-search-tree.adoc[]
80+
include::chapters/tree--binary-search-tree.adoc[]
8181

8282
// (g)
8383
// include::chapters/map.adoc[]
@@ -102,6 +102,9 @@ include::chapters/set.adoc[]
102102
// (g)
103103
include::chapters/graph.adoc[]
104104

105+
// TODO: pending
106+
include::chapters/graph-search.adoc[]
107+
105108
:leveloffset: -1
106109

107110
= Algorithms
@@ -111,33 +114,28 @@ include::chapters/algorithms-intro.adoc[]
111114

112115
:leveloffset: +1
113116

117+
//
118+
// Sorting algorithms
119+
//
120+
114121
// TODO: pending
115122
include::chapters/sorting-intro.adoc[]
116123

117-
//
118124
// Slow Sorting
119-
//
120125

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

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

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

127-
//
128132
// Fast Sorting
129-
//
130133

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

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

135-
//
136-
// Searching
137-
//
138138

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

142140
:leveloffset: -1
143141

File renamed without changes.

‎book/chapters/tree.adoc‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ The binary restricts the nodes to have at most two children. Trees, in general,
5656
.Binary tree has at most 2 children while non-binary trees can have more.
5757
image:image32.png[image,width=321,height=193]
5858

59+
Binary trees are the one of the most common types and it's used to build other data structures and applications.
60+
61+
.Binary Tree Applications
62+
- <<Map>>
63+
- <<Set>>
64+
- Priority Queues
65+
- <<Binary Search Tree (BST)>>
66+
5967

6068
=== Binary Search Tree (BST)
6169

@@ -73,6 +81,8 @@ The heap (max-heap) is a type of binary tree where the children's values are hig
7381

7482
.Heap vs BST
7583
image:image34.png[image,width=325,height=176]
84+
85+
7686
The (max) heap has the maximum value in the root, while BST doesn’t.
7787

7888
There is two kind of heaps: min-heap and max-heap.

‎notes.md‎

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,6 @@
55
- [ ] More algorithm and datastructres! Greedy, Divide and Conquer etc.
66
- [ ] Algorithms visualizations like https://bost.ocks.org/mike/algorithms/
77

8-
## Algorithms
9-
1. Searching algorithms (WIP)
10-
2. Sorting algorithms (WIP)
11-
12-
Compare content with:
13-
- [ ] https://adrianmejia.com/blog/2018/04/28/data-structures-time-complexity-for-beginners-arrays-hashmaps-linked-lists-stacks-queues-tutorial/#Stacks
14-
- [ ] https://medium.freecodecamp.org/time-is-complex-but-priceless-f0abd015063c
15-
- [ ] https://leetcode.com/explore/learn/
16-
- [ ] https://github.com/trekhleb/javascript-algorithms
17-
- [ ] https://www.khanacademy.org/computing/computer-science/algorithms
18-
- [ ] Compare with: Data Structures and Algorithms.pdf by Lydia Hallie
19-
- [ ] Cracking code interviews
20-
- [ ] Grokking Algorithms
21-
- [ ] CS Distilled
22-
- [ ] Create poster like: http://bigocheatsheet.com/, http://bigoref.com/,
23-
- [ ] https://introcs.cs.princeton.edu/java/11cheatsheet/
24-
25-
26-
278
# Troubleshooting
289
Some notes while working on this project
2910

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /