[x/tour] tour: btrees do not store values just in leaves

The concurrency/7 slide (the binary tree exercise) says:

> There can be many different binary trees with the same sequence of
  values stored at the leaves.

Which is misleading: in the btree in the exercise, values are not
stored just in the leaves, the internal nodes hold values too.

Fixes golang/tour#774

Change-Id: I71af71ccf36ac8ad87dfe73b751b461890c3a7e0
Reviewed-on: https://go-review.googlesource.com/c/tour/+/179937
Reviewed-by: Andrew Bonventre <andybons@golang.org>
X-Tour-Commit: 1f1f3d2b450bb9b46a281dc119148605afd67c6d
1 file changed
tree: 211e1c571d793e31bb42fd72ea9926e39c52052c
  1. tour/
  2. AUTHORS
  3. CONTRIBUTING.md
  4. CONTRIBUTORS
  5. LICENSE
  6. PATENTS
  7. README.md
README.md

Go Website

This repository holds the Go Website server code and content.

Download/Install

The easiest way to install is to run go get -u golang.org/x/website. You can also manually git clone the repository to $GOPATH/src/golang.org/x/website.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.