码迷,mamicode.com
首页 >  
搜索关键字:from    ( 57817个结果
python 爬虫爬取腾讯新闻科技类的企鹅智酷系列(1)
废话不多说,直接贴代码,主要采用BeautifulSoup写的 # -*- coding: utf-8 -*- """ Created on Mon May 18 19:12:06 2015 @author: Administrator """ import urllib import os from bs4 import BeautifulSoup impo...
分类:编程语言   时间:2015-05-19 10:44:07    阅读次数:145
从assets中拷贝from文件到指定目录下
从assets中拷贝from文件到指定目录下。...
分类:其他好文   时间:2015-05-19 10:37:49    阅读次数:101
leetcode_120题——Triangle (动态规划)
TriangleTotal Accepted:39052Total Submissions:143341My SubmissionsQuestionSolutionGiven a triangle, find the minimum path sum from top to bottom. Each...
分类:其他好文   时间:2015-05-19 10:16:34    阅读次数:92
106 Construct Binary Tree from Inorder and Postorder Traversal
public class Solution { public TreeNode buildTree(int[] inorder, int[] postorder) { if (inorder == null || postorder == null || inorder.leng...
分类:其他好文   时间:2015-05-19 10:11:11    阅读次数:113
105 Construct Binary Tree From Preorder and Inorder Traversal
public class Solution { public TreeNode buildTree(int[] preorder, int[] inorder) { if (preorder == null || inorder == null || preorder.lengt...
分类:其他好文   时间:2015-05-19 10:09:22    阅读次数:136
【Leetcode】【Medium】Remove Duplicates from Sorted List II
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving onlydistinctnumbers from the original list.For example,Given1->2->3-...
分类:其他好文   时间:2015-05-19 08:48:01    阅读次数:104
python常用库
集合库collection 一些特别的用例,在有些场合Counter非常实用。如果你参加过在这一年的Facebook HackerCup,你甚至也能找到他的实用之处。 from collections import Counter print Counter("hello") >>> Counter({'l': 2, 'h': 1, 'e': 1, 'o': 1}) 迭代工具...
分类:编程语言   时间:2015-05-19 00:49:56    阅读次数:255
Java for LeetCode 080 Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],Your function shou....
分类:编程语言   时间:2015-05-19 00:46:34    阅读次数:334
修改 计算机名后,修改SQLserver 注册服务器对象的名称,及登陆名
--查看当前数据库服务器名称:select @@ServerName--查看当前所有数据库服务器名称select * from Sys.SysServers--修改数据库服务器名称sp_dropserver 'old_servername'sp_addserver 'new_servername',...
分类:数据库   时间:2015-05-19 00:41:05    阅读次数:264
Java for LeetCode 079 Word Search
Given a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjace...
分类:编程语言   时间:2015-05-19 00:25:26    阅读次数:210
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!