摘要: Given an integer rowIndex, return the rowIndexth (0-indexed) row of the Pascal's triangle. In Pascal's triangle, each number is the sum of the two num 阅读全文
posted @ 2020-05-14 08:10 CNoodle 阅读(454) 评论(0) 推荐(0)
摘要: Given an integer numRows, return the first numRows of Pascal's triangle. In Pascal's triangle, each number is the sum of the two numbers directly abov 阅读全文
posted @ 2020-05-14 07:25 CNoodle 阅读(574) 评论(0) 推荐(0)
摘要: Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating 阅读全文
posted @ 2020-05-14 05:24 CNoodle 阅读(354) 评论(0) 推荐(0)
摘要: Given string num representing a non-negative integer num, and an integer k, return the smallest possible integer after removing k digits from num. Exa 阅读全文
posted @ 2020-05-14 01:51 CNoodle 阅读(152) 评论(0) 推荐(0)