由买买提看人间百态

topics

全部话题 - 话题: stringdata
(共0页)
h**********c
发帖数: 4120
1
来自主题: JobHunting版 - 请教G家新题 continental divider
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
/**
* This is a brain-tease. To find from array elements, monotone (less than
not equal) decreasing from adjacent element, leading to all '0's.
* Connected zeros is one ocean.
* The solution is growing the sea level, when all oceans become one BODY,
the none-basin (none-prohibited) element is the answer.
*/
//DONE Identify water bodies
//DONE Manually design other cases: trivial change
//TODO... 阅读全帖
T********i
发帖数: 2416
2
来自主题: Java版 - [转载] Built a Java library
【 以下文字转载自 ITnews 讨论区,原文如下 】
发信人: TeacherWei (TeacherWei), 信区: ITnews
标 题: Built a Java library
发信站: The unknown SPACE (Fri Apr 5 13:29:45 2002) WWW-POST
Called CommonTable
Maybe everybody can work out a similar thing. But I'm very proud of my
originality and vision.
Usage is very simple,
A) Declare a class you want to publish as a row in table, for example:
public class Row {
public static final Object[][] _tableFieldMap = {
{"stringData", "StringData"},
{"intData", "IntData"},
{
(共0页)