Skip to content

Commit db8fccd

Browse files
committed
Emphasis in readmes
1 parent 74b81c3 commit db8fccd

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Readme.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,22 @@
33
All known problems can be solved with algorithms. For all we know, humans are
44
Turing machines.
55

6-
Most problems can be structured into a graph. Graphs have vertices (entities
6+
Most problems can be structured into a **graph**. Graphs have vertices (entities
77
holding data) and edges (from one vertex to another, sometimes with a value).
88

9-
Many problems can be structured into a tree. Trees are connected graphs without
10-
cycles. Most trees we use are rooted: one vertex is the entry point (the root);
11-
it is the only vertex with no edge pointing to it, all other have exactly one.
12-
Many trees are ordered: vertices order their children like a list.
9+
Many problems can be structured into a **tree**. Trees are connected graphs
10+
without cycles. Most trees we use are rooted: one vertex is the entry point (the
11+
root); it is the only vertex with no edge pointing to it, all other have exactly
12+
one. Many trees are ordered: vertices order their children like a list.
1313

14-
Some problems can be structured into a list. Lists are rooted trees where a
14+
Some problems can be structured into a **list**. Lists are rooted trees where a
1515
maximum of one child is allowed.
1616

17-
A few problems can be structured into a map. Maps are directed graphs where
17+
A few problems can be structured into a **map**. Maps are directed graphs where
1818
every vertex has either a single edge coming from them (keys) or at least one
1919
edge coming from a key (values).
2020

2121
(An uncommon variation of maps are multimaps, where keys can have more than a
2222
single edge coming from them.)
2323

24-
Another structure is a set. Sets are graphs with no edges.
24+
Another structure is a **set**. Sets are graphs with no edges.

tree/Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Trees are connected graphs without cycles.
22

3-
Most trees we use are rooted: one vertex is the entry point (the root);
3+
Most trees we use are **rooted**: one vertex is the entry point (the root);
44
it is the only vertex with no edge pointing to it, all other have exactly one.
55

6-
Many trees are ordered: vertices order their children like a list.
6+
Many trees are **ordered**: vertices order their children like a list.
77

88
The most common implementation of trees is as either null pointers or pointers
99
to a structure with a value and a list of children trees.
@@ -67,7 +67,7 @@ Rarer, it ensures that recently requested searches are faster to search for.
6767
Great for priority queues. Efficient to implement as an array.
6868

6969
- Complete binary tree: all levels of the tree must be filled but the bottom.
70-
- Each value stored in a vertex is bigger or equal to its children.
70+
- Each value stored in a vertex is bigger than or equal to its children.
7171

7272
# B-tree
7373

0 commit comments

Comments
 (0)