随笔 - 54  文章 - 0  评论 - 6  阅读 - 18万
05 2017 档案
LeetCode #21 Merge Two Sorted Lists
摘要:LeetCode 21 Merge Two Sorted Lists Question Merge two sorted linked lists and return it as a new list. The new list should be made by splicing togethe 阅读全文
posted @ 2017-05-26 13:59 Silence_cnblogs 阅读(248) 评论(0) 推荐(0)
LeetCode #19 Remove Nth Node From End of List
摘要:LeetCode 19 Remove Nth Node From End of List Question Given a linked list, remove the n th node from the end of list and return its head. For example, 阅读全文
posted @ 2017-05-26 11:28 Silence_cnblogs 阅读(235) 评论(0) 推荐(0)
LeetCode #17 Letter Combinations of a Phone Number
摘要:LeetCode 17 Letter Combinations of a Phone Number Question Given a digit string, return all possible letter combinations that the number could represe 阅读全文
posted @ 2017-05-24 20:51 Silence_cnblogs 阅读(238) 评论(0) 推荐(0)
LeetCode #18 4Sum
摘要:LeetCode 18 4Sum Question Given an array S of n integers, are there elements a , b , c , and d in S such that a + b + c + d = target? Find all unique 阅读全文
posted @ 2017-05-23 17:59 Silence_cnblogs 阅读(257) 评论(0) 推荐(0)
LeetCode #16 3Sum Closest
摘要:LeetCode 16 3Sum Closest Question Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Ret 阅读全文
posted @ 2017-05-23 16:10 Silence_cnblogs 阅读(224) 评论(0) 推荐(0)
LeetCode #15 3Sum
摘要:LeetCode 15 3Sum Question Given an array S of n integers, are there elements a , b , c in S such that a + b + c = 0? Find all unique triplets in the a 阅读全文
posted @ 2017-05-23 12:53 Silence_cnblogs 阅读(192) 评论(0) 推荐(0)
LeetCode #8 String to Integer (atoi)
摘要:LeetCode 8 String to Integer (atoi) Question Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If y 阅读全文
posted @ 2017-05-21 11:21 Silence_cnblogs 阅读(231) 评论(0) 推荐(0)
LeetCode #5 Longest Palindromic Substring
摘要:LeetCode 5 Longest Palindromic Substring Question Given a string s , find the longest palindromic substring in s . You may assume that the maximum len 阅读全文
posted @ 2017-05-20 17:17 Silence_cnblogs 阅读(276) 评论(0) 推荐(0)
LeetCode #3 Longest Substring Without Repeating Characters
摘要:LeetCode 3 Longest Substring Without Repeating Characters Question Given a string, find the length of the longest substring without repeating characte 阅读全文
posted @ 2017-05-19 14:29 Silence_cnblogs 阅读(299) 评论(0) 推荐(0)
Swift 中 String 取下标及性能问题
摘要:Swift 中 String 取下标及性能问题 取下标 String String 用 String.Index 取下标(subscript)得到 Character,String.Index 要从 String 中获取 String 用 Range<String.Index> 或 Cl 阅读全文
posted @ 2017-05-19 12:06 Silence_cnblogs 阅读(3041) 评论(1) 推荐(0)
LeetCode #11 Container With Most Water
摘要:LeetCode 11 Container With Most Water Question Given n non negative integers a1 , a2 , ..., an , where each represents a point at coordinate ( i , ai 阅读全文
posted @ 2017-05-16 15:06 Silence_cnblogs 阅读(229) 评论(0) 推荐(0)
LeetCode #2 Add Two Numbers
摘要:LeetCode 2 Add Two Numbers Question You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse 阅读全文
posted @ 2017-05-13 11:45 Silence_cnblogs 阅读(222) 评论(0) 推荐(0)
LeetCode #9 Palindrome Number
摘要:LeetCode 9 Palindrome Number Question Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers b 阅读全文
posted @ 2017-05-12 18:55 Silence_cnblogs 阅读(191) 评论(0) 推荐(0)
LeetCode #7 Reverse Integer
摘要:LeetCode 7 Reverse Integer Question Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = 123, return 321 Have you thought about t 阅读全文
posted @ 2017-05-12 15:18 Silence_cnblogs 阅读(374) 评论(0) 推荐(0)
LeetCode #1 Two Sum
摘要:LeetCode 1 Two Sum Question Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume t 阅读全文
posted @ 2017-05-09 20:54 Silence_cnblogs 阅读(287) 评论(0) 推荐(0)
iOS 使用 UIMenuController 且不隐藏键盘的方法
摘要:iOS 使用 UIMenuController 且不隐藏键盘的方法 在键盘显示的时候使用 UIMenuController 弹出菜单,保持键盘显示且可输入的状态。 实现方法有 1. 修改响应链(推荐) 2. 遵循 UIKeyInput 协议 3. 自定义 Menu controller 前两种方法的 阅读全文
posted @ 2017-05-08 18:03 Silence_cnblogs 阅读(3978) 评论(0) 推荐(1)
iOS 真机测试错误“The application bundle does not contain a valid identifier”
摘要:iOS 真机测试错误“The application bundle does not contain a valid identifier” 真机测试的时候报错:“The application bundle does not contain a valid identifier”。在这里找到解决方 阅读全文
posted @ 2017-05-06 15:33 Silence_cnblogs 阅读(3303) 评论(0) 推荐(0)

< 2025年4月 >
30 31 1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 1 2 3
4 5 6 7 8 9 10

点击右上角即可分享
微信分享提示