![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
踏莎行·术业专攻
HUANGGSCHN
时间会为你证明
展开
-
使用ArrayList创建帕斯卡三角
以下是「Core Java for the Impatient」一书第一章的第15道习题及解答。 题目: Write a program that stores Pascal’s triangle up to a given n in an ArrayList < ArrayList< Integer >>.原创 2017-07-24 00:15:17 · 314 阅读 · 0 评论 -
验证一组数字是否magic square
验证一组数字是否magic square最近越来越觉得自己基础不扎实且不成体系,所以打算从头复习一遍Java基础。以下是「Core Java for the Impatient」一书第一章的第14道习题及解答。原创 2017-07-23 23:58:19 · 755 阅读 · 0 评论