2960. 统计已测试设备
统计已测试设备
- 难度:
easy - 原始链接: https://leetcode.cn/problems/count-tested-devices-after-test-operations
- 标签:
一次遍历
解法一: 一次遍历
1 | func countTestedDevices(batteryPercentages []int) int { |
easy一次遍历1 | func countTestedDevices(batteryPercentages []int) int { |