Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Vishruth-S/CompetitiveCode
/ solution.js
File
solution.js
Codewars_problems/Least Larger/solution.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
function
leastLarger (array, n) {
2
const
larger = [];
3
for
(
let
i = 0; i < array.length; i++) {
4
if
(array[i] > array[n]) {
Callers
nothing calls this directly
Calls
1
leastLarger
Function · 0.85
Tested by
no test coverage detected