mirror of
https://github.com/krahets/hello-algo.git
synced 2026-05-03 01:20:16 +08:00
Polish the content
Polish the chapter preface, introduction and complexity anlysis
This commit is contained in:
@@ -76,7 +76,7 @@ fn exponential(n: i32) i32 {
|
||||
var count: i32 = 0;
|
||||
var bas: i32 = 1;
|
||||
var i: i32 = 0;
|
||||
// cell 每轮一分为二,形成数列 1, 2, 4, 8, ..., 2^(n-1)
|
||||
// 细胞每轮一分为二,形成数列 1, 2, 4, 8, ..., 2^(n-1)
|
||||
while (i < n) : (i += 1) {
|
||||
var j: i32 = 0;
|
||||
while (j < bas) : (j += 1) {
|
||||
|
||||
Reference in New Issue
Block a user