码迷,mamicode.com
首页 >  
搜索关键字:its    ( 9997个结果
使用isinstance()来判断一个对象的类型
#!/usr/bin/env python# coding: utf-8'ct_p14.py -- use isinstance() to tell the type of a value' #此处为脚本doc文档#print("Enter something, you will see its t...
分类:其他好文   时间:2015-08-13 19:31:31    阅读次数:216
Flip Game
Description Flip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and the other one is black and each piece is lying e...
分类:其他好文   时间:2015-08-13 18:03:24    阅读次数:129
玩转指针(Playing with Pointers)
Question: What is a Pointer? What are its limitations? What are its benefits? How do we use it? What all operation we can perform using it? In this ar...
分类:其他好文   时间:2015-08-13 17:36:54    阅读次数:110
hadoop权威指南(第四版)要点翻译(3)——Chapter 2. MapReduce
Most importantly, MapReduce programs are inherently parallel, thus putting very large-scale data analysis into the hands of anyone with enough machines at their disposal.MapReduce comes into its own fo...
分类:其他好文   时间:2015-08-13 14:30:25    阅读次数:167
构造逆序数
DescriptionThe world famous scientist Innokentiy almost finished the creation of perpetuum mobile. Its main part is the energy generator which allows ...
分类:其他好文   时间:2015-08-13 11:50:08    阅读次数:123
POJ-1753 Flip Game (BFS+状态压缩)
DescriptionFlip game is played on a rectangular 4x4 field with two-sided pieces placed on each of its 16 squares. One side of each piece is white and ...
分类:其他好文   时间:2015-08-13 08:49:56    阅读次数:129
PAT 1059. Prime Factors (25)
1059. Prime Factors (25)Given any positive integer N, you are supposed to find all of its prime factors, and write them in the format N = p1^k1* p2^k2...
分类:其他好文   时间:2015-08-12 23:16:27    阅读次数:130
24.Swap Nodes in Pairs (List; Two-Pointers)
Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your algor...
分类:其他好文   时间:2015-08-12 23:10:02    阅读次数:92
poj 1679 The Unique MST【次小生成树】
The Unique MSTTime Limit:1000MSMemory Limit:10000KTotal Submissions:24034Accepted:8535DescriptionGiven a connected undirected graph, tell if its minim...
分类:其他好文   时间:2015-08-12 21:12:38    阅读次数:236
LeetCode:Binary Tree Level Order Traversal II (按层遍历)
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For ...
分类:其他好文   时间:2015-08-12 18:38:18    阅读次数:106
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!