摘要:
1.Reverse String Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 1. 可以直接用Str 阅读全文
摘要:
2.1 数学基础 1. 掌握O(N)的概念 2. 在需要大O表示的任何分析中,各种简化都是可能发生的,低阶项一般都会被自动忽略,常数也可以弃掉 2.2 模型 1. 对模拟机做的假设: 1. 模拟机做任何一件简单的工作(加法,减法,赋值,比较)都恰好花费一个时间单元 2. 模拟机有无限的内存,不会发生 阅读全文