摘要:
Write a function to find the longest common prefix string amongst an array of strings.我的解决方案:class Solution {public: string longestCommonPrefix(vec... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(216)
评论(0)
推荐(0)
摘要:
编辑部的主页:好像没啥用http://shop.oreilly.com/product/0636920022923.do每章的代码,github上面的:中文版https://github.com/willard-yuan/pcv-book-codegithub上面,英文版:https://githu... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(3662)
评论(0)
推荐(0)
摘要:
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints: Could negative integers be palin... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(138)
评论(0)
推荐(0)
摘要:
Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 我的解决方案:... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(167)
评论(0)
推荐(0)
摘要:
Easy OpenCL with Python 原文 http://www.drdobbs.com/open-source/easy-opencl-with-python/240162614 OpenCL与python联合工作:与CUDA的前景分析http://www.opengpu.org/... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(491)
评论(0)
推荐(0)
摘要:
项目主页:http://grinninglizard.com/tinyxml2docs/index.html tinyxml2.h /*Original code by Lee Thomason (www.grinninglizard.com)This software is provided... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(510)
评论(0)
推荐(0)
摘要:
Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1-... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(118)
评论(0)
推荐(0)
摘要:
Maximum Depth of Binary Tree Total Accepted: 63668 Total Submissions: 141121 My Submissions Question Solution Given a binary tree, find it... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(124)
评论(0)
推荐(0)
摘要:
Reverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers.Have you thought about this?... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(104)
评论(0)
推荐(0)
摘要:
The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fix... 阅读全文
posted @ 2017-11-17 22:27
wangyaning
阅读(173)
评论(0)
推荐(0)
浙公网安备 33010602011771号