九章算法
「已注销」
北京大学计算机应用技术专业机器学习方向硕士研究生。
展开
-
字符串查找-strStr
字符串查找-strStr问题描述字符串查找(又称查找子字符串),是字符串操作中一个很有用的函数。你的任务是实现这个函数。对于一个给定的 source 字符串和一个 target 字符串,你应该在 source 字符串中找出 target 字符串出现的第一个位置(从0开始)。如果不存在,则返回 -1。您在真实的面试中是否遇到过这个题? Yes 样例 如果 source = “source” 和 t原创 2015-07-01 19:45:48 · 1851 阅读 · 0 评论 -
LintCode - Add Two Numbers
LintCode - Add Two Numbers原创 2015-07-24 10:43:02 · 1580 阅读 · 0 评论 -
LintCode - Copy List with Random Pointer
LintCode - Copy List with Random PointerLintCode - Copy List with Random Pointer Web Link Description Code - C Tips Web Linkhttp://www.lintcode.com/en/problem/copy-list-with-random-pointer/DescriptionA原创 2015-07-24 16:22:24 · 858 阅读 · 0 评论 -
To find the kth to Last Element of a Singly Linked List
To find the kth to Last Element of a Singly Linked ListTo find the kth to Last Element of a Singly Linked List Web Link Description Code - C Tips Web LinkNoneDescriptionWrite a program to find the kth原创 2015-07-24 22:23:55 · 810 阅读 · 0 评论 -
LintCode - Remove Duplicates from Sorted List
LintCode - Remove Duplicates from Sorted ListLintCode - Remove Duplicates from Sorted List Web Link Description Code - C Tips Web Linkhttp://www.lintcode.com/en/problem/remove-duplicates-from-sorted-li原创 2015-07-24 21:19:10 · 655 阅读 · 0 评论 -
LintCode - Merge Two Sorted List
LintCode - Merge Two Sorted ListsLintCode - Merge Two Sorted Lists Web Link Description Code - C TipsWeb Linkhttp://www.lintcode.com/en/problem/merge-two-sorted-lists/DescriptionMerge two sorted (ascen原创 2015-07-24 23:07:09 · 800 阅读 · 0 评论 -
Find the middle point of the linked list
Find the middle point of the linked listFind the middle point of the linked list Web Link Description Code - C Tips Web LinkNoneDescriptionFind the middle point of the linked list Example Given 1->2-原创 2015-07-24 23:48:36 · 549 阅读 · 0 评论 -
LintCode - Remove Duplicates from Sorted List II Show result
LintCode - Remove Duplicates from Sorted List II Show resultLintCode - Remove Duplicates from Sorted List II Show result Web Link Description Code - C Tips Web Linkhttp://www.lintcode.com/en/problem/re原创 2015-07-25 00:03:25 · 894 阅读 · 0 评论