码迷,mamicode.com
首页 >  
搜索关键字:equal    ( 3393个结果
PAT 1053 Path of Equal Weight
#include #include #include #include using namespace std;vector* > paths;class Node {public: vector child; int weight; Node(int w = 0) : weigh...
分类:其他好文   时间:2014-11-08 13:25:50    阅读次数:110
Same Tree
Same TreeGiven two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally ide...
分类:其他好文   时间:2014-11-08 00:47:33    阅读次数:151
Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-11-08 00:46:40    阅读次数:131
Same Tree (二叉树DFS)
Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical an...
分类:其他好文   时间:2014-11-06 19:07:13    阅读次数:205
LeetCode Partition List
Given a linked list and a valuex, partition it such that all nodes less thanxcome before nodes greater than or equal tox.You should preserve the origi...
分类:其他好文   时间:2014-11-06 14:30:36    阅读次数:151
[Leetcode] Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:其他好文   时间:2014-11-02 07:03:37    阅读次数:177
Euler Project question 34 in python way
# 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145.# Find the sum of all numbers which are equal to the sum of the factorial of their dig...
分类:编程语言   时间:2014-10-30 19:03:14    阅读次数:209
UVA 11889-Benefit(数学_快速枚举因子)
Recently Yaghoub is playing a new trick to sell some more. When somebody gives him A Tomans, he who never has appropriate changes, asks for B Tomans such that lowest common multiple of A and B equal...
分类:其他好文   时间:2014-10-29 21:35:13    阅读次数:253
Oracle----Operator
Operator Description= Equal or != Not equalGreater than=Greater than or equalANYCompares one value with any value in a listALL Compares one value with...
分类:数据库   时间:2014-10-29 19:14:00    阅读次数:138
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!