c++
文章平均质量分 79
japinli
这个作者很懒,什么都没留下…
展开
-
最长公共子序列
递归及动态规范求解最长公共子序列问题。原创 2016-06-27 20:45:09 · 347 阅读 · 0 评论 -
LeetCode - Longest Palindromic Substring
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.原创 2016-08-12 20:50:22 · 231 阅读 · 0 评论 -
LeetCode - Two Sum
LeetCode 题目1两数之和原创 2016-08-05 10:19:33 · 257 阅读 · 0 评论 -
LeetCode - Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a linked list原创 2016-08-05 10:22:36 · 304 阅读 · 0 评论 -
LeetCode - Linked List Random Node
Given a singly linked list, return a random node’s value from the linked list. Each node must have the same probability of being chosen.原创 2016-08-17 13:51:59 · 296 阅读 · 0 评论 -
LeetCode - Single Number
Given an array of integers, every element appears twice(three) times except for one. Find that single one.原创 2016-08-05 19:05:03 · 312 阅读 · 0 评论 -
LeetCode - Linked List Cycle
Given a linked list, determine if it has a cycle in it. if it has a cycle you should return the node which the cycle begins.原创 2016-08-06 14:51:43 · 228 阅读 · 0 评论 -
C++何时使用虚析构函数?
虚析构函数的使用原创 2016-09-25 23:08:25 · 1640 阅读 · 0 评论 -
sizeof & strlen
sizeof & strlen 总结原创 2016-09-28 21:35:52 · 289 阅读 · 1 评论