- 博客(5)
- 资源 (6)
- 收藏
- 关注
原创 笔试编程经典(leetcode在线编程)
题目描述Given a binary tree, find its minimum depth.The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.代码:/** * Definition for b
2017-05-31 22:48:49 1389
原创 Educational Codeforces Round 21总结
A. Lucky Yeartime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputApart from having lots of holidays throughout
2017-05-23 22:34:32 460
原创 面试题目汇总(JAVA算法/数据结构)
1.题目:输入一个正整数数组,把数组里所有数字拼接起来排成一个数,打印能拼接出的所有数字中最小的一个。例如输入数组{3,32,321},则打印出这三个数字能排成的最小数字为321323。代码:import java.util.ArrayList;import java.util.Collections;import java.util.Comparator;import java.u
2017-05-18 14:06:01 24652 7
原创 Codeforces Round #411 (Div. 2)总结
A. Fake NPtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTavak and Seyyed are good friends. Seyyed is very
2017-05-05 09:34:07 341
原创 Educational Codeforces Round 20总结
A. Maximal Binary Matrixtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given matrix with n rows an
2017-05-02 11:31:41 616
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人