Problem statement: Given an m x n matrix of non-negative integers representing the height of each unit cell in a continent, the "Pacific ocean" touche ...
分类:
其他好文 时间:
2017-05-15 13:02:19
阅读次数:
225
题目: Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two e ...
分类:
编程语言 时间:
2017-05-14 20:38:08
阅读次数:
171
Problem Description Teacher Mai is in a maze with n rows and m columns. There is a non-negative number in each cell. Teacher Mai wants to walk from th ...
分类:
其他好文 时间:
2017-05-14 18:50:08
阅读次数:
252
Given an integer n, count the total number of digit 1 appearing in all non-negative integers less than or equal to n. For example: Given n = 13, Retur ...
分类:
其他好文 时间:
2017-05-13 20:10:54
阅读次数:
169
Given a binary search tree with non-negative values, find the minimum absolute difference between values of any two nodes. Example: Input: 1 \ 3 / 2 O ...
分类:
其他好文 时间:
2017-05-10 20:31:13
阅读次数:
143
There is a square matrix n?×?n, consisting of non-negative integer numbers. You should find such a way on it that starts in the upper left cell of the ...
分类:
其他好文 时间:
2017-05-10 18:54:07
阅读次数:
203
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. Example Given num = 38. The process is like: 3 + ...
分类:
其他好文 时间:
2017-05-10 15:37:57
阅读次数:
132
Number Steps Time Limit: 1000ms Memory limit: 10000K 有疑问?点这里^_^ 题目描写叙述 Starting from point (0,0) on a plane, we have written all non-negative integers ...
分类:
其他好文 时间:
2017-05-09 09:36:51
阅读次数:
135
传送门 Description You are given an array consisting of n non-negative integers a1,?a2,?...,?an. You are going to destroy integers in the array one by on ...
分类:
其他好文 时间:
2017-05-09 00:49:03
阅读次数:
182
There is a square matrix n?×?n, consisting of non-negative integer numbers. You should find such a way on it that starts in the upper left cell of the ...
分类:
其他好文 时间:
2017-05-08 23:29:49
阅读次数:
411