Promise版本的数组遍历

2018年五月书单～

Vue中的双向数据绑定

## 1. 原理

Vue的双线数据绑定的原理主要是通过Object对象的defineProperty属性，重写datasetget函数来实现的，这里通过一个实例来说明。主要实现v-model，v-bind和v-click三个命令，其他命令也可以自行补充。

LeetCode Notes 028

### Fizz Buzz

Write a program that outputs the string representation of numbers from 1 to n.

But for multiples of three it should output “Fizz” instead of the number and for the multiples of five output “Buzz”. For numbers which are multiples of both three and five output “FizzBuzz”.

Example:

LeetCode Notes 027

### Find th Difference

Given two strings s and t which consist of only lowercase letters.

String t is generated by random shuffling string s and then add one more letter at a random position.

Find the letter that was added in t.

Example: