码迷,mamicode.com
首页 >  
搜索关键字:its    ( 9997个结果
codechef Open the Dragon Scroll bitset容器的运用
Open the Dragon Scroll Did you ever hear about 'Dragon Food' ? Its used to refer to the chocolates bought for your loved ones :). Po offers dragon food to master Shifu, who is a famous cook in th...
分类:其他好文   时间:2014-05-10 10:06:11    阅读次数:382
LeetCode OJ - Minimum && Maximum Depth of Binary Tree
这两道题用递归的解法都很简单,只是稍有不同。下面是AC代码: 1 /** 2 * Given a binary tree, find its minimum depth. 3 * the minimum depth is the number of nodes along th...
分类:其他好文   时间:2014-05-10 08:47:32    阅读次数:271
Reverse Nodes in k-Group
Given a linked list, reverse the nodes of a linked listkat a time and return its modified list.If the number of nodes is not a multiple ofkthen left-o...
分类:其他好文   时间:2014-05-09 12:00:21    阅读次数:309
STL 之 stack 源码剖析
G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_stack.h 完整列表 /* * * Copyright (c) 1994 * Hewlett-Packard Company * * Permission to use, copy, modify, distribute and sell this software * and its do...
分类:其他好文   时间:2014-05-07 07:40:07    阅读次数:322
codechef Little Elephant and Permutations题解
The Little Elephant likes permutations. This time he has a permutation A[1], A[2], ..., A[N] of numbers 1, 2, ...,N. He calls a permutation A good, if the number of its inversions is equal to the n...
分类:其他好文   时间:2014-05-07 07:20:50    阅读次数:356
【LeetCode】Binary Tree Preorder Traversal
题目 Given a binary tree, return the preorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [1,2,3]. Note: Recursiv...
分类:其他好文   时间:2014-05-07 03:30:19    阅读次数:254
Unique MST
Unique MSTTime Limit: 3000/1000MS (Java/Others) Memory Limit: 65535/65535KB (Java/Others)Given a connected undirected graph, tell if its minimum span....
分类:其他好文   时间:2014-05-07 00:55:18    阅读次数:530
线性代数《Linear Algebra and Its Application》学习总结
此文仅为学习记录,内容会包括一些数学概念,定义,个人理解的摘要。希望能够分享一些学习内容。第一节:Row Reduction and Echelon FormsEchelon form: 行消元后的矩阵Reduced echelon form: 行消元并且leading entry为1的矩阵。Ech...
分类:移动开发   时间:2014-05-07 00:08:07    阅读次数:654
STL 之 queue、priority_queue 源码剖析
G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_queue.h 完整列表 /* * * Copyright (c) 1994 * Hewlett-Packard Company * * Permission to use, copy, modify, distribute and sell this software * and its document...
分类:其他好文   时间:2014-05-06 22:22:55    阅读次数:402
Effective Java 70 Document thread safety
Every class should clearly document its thread safety properties with a carefully worded prose description or a thread safety annotation. The synchron...
分类:编程语言   时间:2014-05-05 12:00:18    阅读次数:437
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!