leetcode 1093. Statistics from a Large Sample
摘要:
求一个数组的最小值,最大值,平均数,中位数与众数 更简洁的实现 javascript const sampleStats = function(count) { let min = Infinity; let max = Infinity; let sum = 0; let totalCount = 阅读全文
posted @ 2020-01-05 00:20 司徒正美 阅读(1255) 评论(0) 推荐(0) 编辑