2017年3月19日

【转】有助于事业发展和幸福感提升的四个约定

摘要: 先做人,后做事,调节好自己的心态,调整好对人对事的方式,才能更好的做事。 以下是我听到过的4个约定,可以帮助人发展事业并且提高自己的幸福感。每条约定后面是我对这条约定的一些看法,希望大家能谈谈自己的看法。1. 不要轻易评论他人 不要轻易地说他人的缺点,无论是当面还是背后,最好做到不去想。可以表扬别人 阅读全文

posted @ 2017-03-19 09:40 whl-hl 阅读(187) 评论(0) 推荐(1) 编辑

2016年9月10日

189. Rotate Array

摘要: 1. 问题描述 189. Rotate ArrayRotate an array of n elements to the right by k steps.For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated 阅读全文

posted @ 2016-09-10 23:43 whl-hl 阅读(195) 评论(0) 推荐(1) 编辑

2016年9月7日

9. Palindrome Number

摘要: 1. 问题描述 Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you ar 阅读全文

posted @ 2016-09-07 23:09 whl-hl 阅读(197) 评论(0) 推荐(0) 编辑

2016年9月5日

118. Pascal's Triangle

摘要: 1. 问题描述 Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1] 阅读全文

posted @ 2016-09-05 23:17 whl-hl 阅读(173) 评论(0) 推荐(0) 编辑

2016年9月1日

172. Factorial Trailing Zeroes

摘要: 1. 问题描述 Given an integer n, return the number of trailing zeroes in n!.Note: Your solution should be in logarithmic time complexity.Tags: MathSimilar 阅读全文

posted @ 2016-09-01 22:05 whl-hl 阅读(178) 评论(0) 推荐(0) 编辑

2016年8月29日

345. Reverse Vowels of a String

摘要: 1. 问题描述 Write a function that takes a string as input and reverse only the vowels of a string. Note:The vowels does not include the letter "y".Tags: T 阅读全文

posted @ 2016-08-29 23:02 whl-hl 阅读(115) 评论(0) 推荐(0) 编辑

2016年8月26日

58. Length of Last Word

摘要: 1. 问题描述 Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the la 阅读全文

posted @ 2016-08-26 23:37 whl-hl 阅读(170) 评论(0) 推荐(0) 编辑

2016年8月24日

383. Ransom Note

摘要: 1. 问题描述 Given an arbitrary ransom note string and another string containing letters from all the magazines, write a function that will return true if 阅读全文

posted @ 2016-08-24 23:28 whl-hl 阅读(204) 评论(0) 推荐(0) 编辑

387. First Unique Character in a String

摘要: 1. 问题描述 Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Note: You may assume the s 阅读全文

posted @ 2016-08-24 23:26 whl-hl 阅读(113) 评论(0) 推荐(0) 编辑

83. Remove Duplicates from Sorted List

摘要: 1. 问题描述 Given a sorted linked list, delete all duplicates such that each element appear only once.For example,Given 1->1->2, return 1->2.Given 1->1->2 阅读全文

posted @ 2016-08-24 23:24 whl-hl 阅读(123) 评论(0) 推荐(0) 编辑

导航