Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.

book
Elements Greater Than k

Given an array of integers nums and an integer k, return an amount of integers in array are larger than the k.

Example 1

Input:

[9, 10, 2, 3, 55, 76, 12, 6]; k = 7

Output:

5
main.cpp

main.cpp

C++

Spør AI

expand

Spør AI

ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

some-alt