摘要: https://leetcode.com/problems/palindrome number/ 阅读全文
posted @ 2019-04-25 16:36 benda 阅读(73) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/string to integer atoi/ 阅读全文
posted @ 2019-04-25 16:32 benda 阅读(85) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/reverse integer/ python版本 阅读全文
posted @ 2019-04-25 16:23 benda 阅读(77) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/zigzag conversion/ 阅读全文
posted @ 2019-04-25 16:11 benda 阅读(72) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/longest palindromic substring/ 阅读全文
posted @ 2019-04-25 15:49 benda 阅读(98) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/median-of-two-sorted-arrays/ 1 class Solution { 2 public: 3 #include<algorithm> 4 int get_kth_val(vector<int>& nums1, ve 阅读全文
posted @ 2019-04-24 17:10 benda 阅读(114) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/longest-substring-without-repeating-characters/ class Solution { public: int lengthOfLongestSubstring(string s) { /* 动态规 阅读全文
posted @ 2019-04-24 17:08 benda 阅读(94) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/add-two-numbers/ /** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(in 阅读全文
posted @ 2019-04-24 17:07 benda 阅读(93) 评论(0) 推荐(0) 编辑