0%

ARTS 20200615

Algorithm

Validate Binary Search Tree - LeetCode

比较简单,二叉搜索树的特性是节点的左子树小于节点的值,右子树大于节点的值。本质就是二叉树中序遍历的应用,中序遍历二叉搜索树得到的数组一定是有序的。

Review

Understanding Swift Performance - WWDC 2016 - Videos - Apple Developer
没看完,主要看了 Allocation 和 Dispatch 部分,准备看完后写一个 Swift 性能相关的文章,嗯,下周的 Share 有了。。。

Tips

  1. 如何从远端 Git 仓库中拉取某个制定文件:git - Retrieve a single file from a repository - Stack Overflow
  2. 使用 Fastlane 快速更新 Push 证书:fastlane pem -a bundle_id -u username -p "password" --force --development

Share

重构技巧:Parser 与多态