
LeetCode
文章平均质量分 89
tulip_xxt
这个作者很懒,什么都没留下…
展开
-
LeetCode ——258.Add Digits
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit.For example:Given num = 38, the process is like: 3 + 8 = 11, 1 + 1 = 2. Since 2 has on原创 2016-06-29 21:18:12 · 229 阅读 · 0 评论 -
LeetCode ——566. Reshape the Matrix
题目描述:In MATLAB, there is a very useful function called 'reshape', which can reshape a matrix into a new one with different size but keep its original data.You're given a matrix represented by原创 2017-06-14 20:56:20 · 424 阅读 · 1 评论