摘要: Given a string S and a string T, count the number of distinct subsequences of S which equals T. A subsequence of a string is a new string which is for 阅读全文
posted @ 2017-08-08 15:03 LOVEwitch 阅读(87) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty array of numbers, a0, a1, a2, … , an-1, where 0 ≤ ai < 231. Find the maximum result of ai XOR aj, where 0 ≤ i, j < n. Could you do t 阅读全文
posted @ 2017-08-07 17:19 LOVEwitch 阅读(154) 评论(0) 推荐(0) 编辑
摘要: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contai 阅读全文
posted @ 2017-08-03 18:22 LOVEwitch 阅读(155) 评论(0) 推荐(0) 编辑
摘要: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the answer is "abc", which the leng 阅读全文
posted @ 2017-08-03 18:21 LOVEwitch 阅读(115) 评论(0) 推荐(0) 编辑
摘要: Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked lists: A: a1 → a2 阅读全文
posted @ 2017-08-02 16:53 LOVEwitch 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 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-07-31 23:41 LOVEwitch 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2017-07-31 23:03 LOVEwitch 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 恢复内容开始 恢复内容结束 阅读全文
posted @ 2017-07-26 21:33 LOVEwitch 阅读(707) 评论(0) 推荐(0) 编辑
摘要: 参考网站:https://css-tricks.com/centering-css-complete-guide/ 阅读全文
posted @ 2017-04-02 20:32 LOVEwitch 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 创造自己的栅格布局:http://j4n.co/blog/Creating-your-own-css-grid-system bootsrtap栅格布局参考:https://getbootstrap.com/examples/grid/ 阅读全文
posted @ 2017-04-02 20:29 LOVEwitch 阅读(168) 评论(0) 推荐(0) 编辑