Change bold code snippets to inline code blocks
This commit is contained in:
parent
f658bfbb40
commit
3c76d884ef
185 changed files with 1772 additions and 1772 deletions
4
59-04.md
4
59-04.md
|
|
@ -34,7 +34,7 @@ and, to my astonishment, not one interviewee has done a good job with
|
|||
this one yet. I ask the question in two stages, and I get remarkably
|
||||
consistent results.
|
||||
|
||||
First, I ask for an implementation of a function **WalkTree()** that
|
||||
First, I ask for an implementation of a function `WalkTree()` that
|
||||
visits each node in a passed-in tree in inorder sequence. Each candidate
|
||||
unhesitatingly writes something like the perfectly good code in Listings
|
||||
59.2 and 59.3 shown next.
|
||||
|
|
@ -110,7 +110,7 @@ through and through. They understand the concepts of visiting left and
|
|||
right subtrees, and they have a general picture of how traversal moves
|
||||
about the tree, but they do not understand exactly what the
|
||||
code-recursive version does. If they really comprehended everything that
|
||||
happens in each iteration of **WalkTree()**—how each call saves the
|
||||
happens in each iteration of `WalkTree()`—how each call saves the
|
||||
state, and what that implies for the order in which operations are
|
||||
performed—they would simply and without fuss implement code like that in
|
||||
Listing 59.4, working with the code-recursive version as a model.
|
||||
|
|
|
|||
Loading…
Reference in a new issue