随笔分类 -  leetCode

6. ZigZag Conversion
摘要:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font 阅读全文

posted @ 2017-02-23 15:19 Pkj 阅读(171) 评论(0) 推荐(0)

4. Median of Two Sorted Arrays
摘要:There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity sh 阅读全文

posted @ 2017-02-23 13:23 Pkj 阅读(168) 评论(0) 推荐(0)

8. String to Integer (atoi)
摘要:Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below 阅读全文

posted @ 2017-02-23 13:20 Pkj 阅读(178) 评论(0) 推荐(0)

导航