随笔分类 -  算法

摘要:题目翻译 Problem A: There are many types of bicycle road races including a criterium, a team time trial, and an individual time trial. A rider’s chance of 阅读全文
posted @ 2022-02-18 08:27 攻城狮小Liu 阅读(771) 评论(0) 推荐(0)
摘要:杨辉三角 说明: 给定一个非负整数 numRows,生成「杨辉三角」的前 numRows 行。 在「杨辉三角」中,每个数是它左上方和右上方的数的和。 示例 1: 输入: numRows = 5输出: [[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1]]示例 2: 输入: 阅读全文
posted @ 2021-11-24 13:38 攻城狮小Liu 阅读(1106) 评论(0) 推荐(0)