工作中常常遇到因数据重复使业务无法提交的问题,我想到了利用随机数来解决这个问题,下面对VBS生成随机数做下解析:一、Randomize语句 Randomize :初始化随机数生成器。 语法 :Randomize [number] 可选的 number 参数是 Variant 或任何有效的数值表...
分类:
其他好文 时间:
2015-01-14 14:10:56
阅读次数:
267
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.
/**
* Definition for binary tree
*...
分类:
其他好文 时间:
2015-01-14 12:49:54
阅读次数:
131
Given a list of non negative integers, arrange them such that they form the largest number.
For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330.
Note: The result may be ve...
分类:
其他好文 时间:
2015-01-14 09:47:36
阅读次数:
99
Related to questionExcel Sheet Column TitleGiven a column title as appear in an Excel sheet, return its corresponding column number.For example: A ...
分类:
其他好文 时间:
2015-01-14 06:20:20
阅读次数:
128
题目:Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the ...
分类:
其他好文 时间:
2015-01-14 06:16:13
阅读次数:
198
# -*- coding: utf8 -*-'''__author__ = 'dabay.wang@gmail.com'https://oj.leetcode.com/problems/palindrome-number/Determine whether an integer is a palin...
分类:
编程语言 时间:
2015-01-14 06:14:41
阅读次数:
177
Given a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2015-01-14 00:43:38
阅读次数:
166
https://docs.python.org/2/howto/regex.htmlIdentifiers:\d any number\D anything but a number\s space\S anything but a space\w any character\W any...
分类:
其他好文 时间:
2015-01-14 00:34:01
阅读次数:
268