MCPcopy Create free account
hub / github.com/Reaper622/DataStructure-Algorithm-TS / GetNumberOfK

Function GetNumberOfK

Algorithm/Search/GetNumberOfK.js:9–21  ·  view source on GitHub ↗

* 统计一个数字在排序数组中出现的次数。 * @param {number[]} numbers * @param {number} k * @return {number}

(numbers, k)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

GetFirstKFunction · 0.70
GetLastKFunction · 0.70

Tested by

no test coverage detected