Commit Graph

4 Commits

Author SHA1 Message Date
TalonsLee
7a12625ff5 Revert "修复代码bug--> exercises/chapter_7/remove_slice.go (#433)" (#757)
Changes to these two files seem not necessary.

This reverts commit 695188fe0d.
2020-02-01 22:42:01 +08:00
Allen.Guo
695188fe0d 修复代码bug--> exercises/chapter_7/remove_slice.go (#433)
* 修复代码bug, 切片取值错误导致结果偏差,丢失最后一个元素,优化创建切片的容量,避免每次自动扩容1个大小

* 使用切片完成操作
2018-03-05 03:54:44 -05:00
Bo-Yi Wu
e6d601d3a1 fix: coding style and file format for chapter 7. 2017-02-11 12:26:05 +08:00
Unknwon
eab1d98ba8 update book code 2015-03-03 12:25:25 -05:00