commit | 1f1f3d2b450bb9b46a281dc119148605afd67c6d | [log] [tgz] |
---|---|---|
author | Alberto Donizetti <alb.donizetti@gmail.com> | Sat Jun 01 15:28:19 2019 +0200 |
committer | Alberto Donizetti <alb.donizetti@gmail.com> | Tue Jun 11 16:45:51 2019 +0000 |
tree | c01a94446dd343f14f3aab9fb13e1d2ed2b8df1b | |
parent | db40fe78fefcfdeefb4ac4a94c72cfb20f40ee77 [diff] |
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>
A Tour of Go is an introduction to the Go programming language. Visit https://tour.golang.org to start the tour.
To install the tour from source, first set up a workspace and then run:
$ go get golang.org/x/tour
This will place a tour
binary in your workspace's bin
directory, which can be run offline.
Contributions should follow the same procedure as for the Go project: https://golang.org/doc/contribute.html
To run the tour server locally:
dev_appserver.py app.yaml
and then visit http://localhost:8080/ in your browser.
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 tour is located at https://github.com/golang/go/issues. Prefix your issue with “tour:” in the subject line, so it is easy to find.
Unless otherwise noted, the go-tour source files are distributed under the BSD-style license found in the LICENSE file.