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++

Fragen Sie AI

expand

Fragen Sie AI

ChatGPT

Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen

some-alt