王选的故事告诉我们,一个人应该追随自己的梦想,并尽自己最大的努力去实现它。
Wang Xuan's story teaches us that a person should follow his own dream and try his best to make it come true.
他们花了很长时间才达到顶峰,多年等待的唯一回报是,当他们有了自己的报纸,他们俩都知道自己想要什么,并坚定地着手去实现它。
They took a long time getting to the top, the only reward for the long years of waiting being that when they had their own newspapers, both knew what they wanted and firmly set about getting it.
现在再设定另一个目标去实现它。
It says, well I'm going to print out first and last just so you can see it, and then I say, gee 2 if last minus first is less than 2, that is, if there's no more than two elements left in the list, then I can just check those two elements and return the answer.
然后它计算了尾点和开始点的差,如果小于2的话,也就是说数组中的元素小于等于,我对这两个元素进行比较,然后返回结果就可以了,否则的话,我们就去寻找中值点,注意它是怎么实现的,首先这个指向一个列表的开头。
you have to realize it's only maybe 5% of the success.
你就要去实现它,也许它只是成功的5%。
应用推荐