IT博客汇
首页
精华
技术
设计
资讯
扯淡
权利声明
登录
注册
leetcode 1093. Statistics from a Large Sample - 司徒正美
司徒正美
发表于
2020-01-04 16:20:00
love
0
【摘要】求一个数组的最小值,最大值,平均数,中位数与众数 更简洁的实现 javascript const sampleStats = function(count) { let min = Infinity; let max = Infinity; let sum = 0; let totalCount =
阅读全文