摘要: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of 阅读全文
posted @ 2017-04-27 11:01 sunli0205 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1 public static void main(String[] args) { 2 char[] s ={'3', '2', '3', '^', '3','^', '1'}; 3 eatgold(s); 4 } 5 6 private static void eatgold(char[] value) { 7 ... 阅读全文
posted @ 2017-04-27 10:43 sunli0205 阅读(146) 评论(0) 推荐(0) 编辑