摘要:
Write a function to find the longest common prefix string amongst an array of strings.我的解决方案:class Solution {public: string longestCommonPrefix(vec... 阅读全文
摘要:
编辑部的主页:好像没啥用http://shop.oreilly.com/product/0636920022923.do每章的代码,github上面的:中文版https://github.com/willard-yuan/pcv-book-codegithub上面,英文版:https://githu... 阅读全文
摘要:
Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints: Could negative integers be palin... 阅读全文
摘要:
给大家推荐两个学习的地址:极客学院的视频:http://www.jikexueyuan.com/path/ios/一个博客:http://blog.csdn.net/lizhongfu2013/article/details/29210015主要想要实现一个模仿的登陆界面代码://// Login... 阅读全文
摘要:
Remove Duplicates from Sorted ArrayTotal Accepted:66627 Total Submissions:212739 My Submissions Given a sorted array, remove the... 阅读全文
摘要:
Given two sorted integer arrays nums1 and nums2, merge nums2 intonums1 as one sorted array.Note:You may assume that nums1 has enough space (size tha... 阅读全文
摘要:
代码:#include #include #include #include #include #pragma comment(lib, "gdiplus.lib")using namespace std;using namespace Gdiplus;int main() { Gdiplus... 阅读全文
摘要:
Remove Element Total Accepted: 60351 Total Submissions: 187833 My Submissions Given an array and a value, remove all instances ... 阅读全文
摘要:
String to Integer (atoi)Total Accepted:52232Total Submissions:401038My Submissions Implement atoi to convert a string to an integer.Hint: Carefully co... 阅读全文
摘要:
大牛没有能做出来的题,我们要好好做一做 Invert a binary tree. 4 / \ 2 7 / \ / \1 3 6 9to 4 / \ 7 2 / \ / \9 6 3 1Trivia:This prob... 阅读全文