CJCoding With Joseph
15free / daySign inCreate account
TitleOpen
145
Count Zeros in an ArrayRead an integer n, then read n integers.
easyNot startedSolve
226
Find Minimum in an Integer ArrayAn integer array contains {12, 5, 19, 3, 8}.
easyNot startedSolve
227
Find Maximum in an Integer ArrayAn int array is given.
easyNot startedSolve
228
Sum of an Integer ArrayAn int array is given.
easyNot startedSolve
229
Average of an Integer ArrayAn int array is given.
easyNot startedSolve
230
Print Array ElementsAn int array is given.
easyNot startedSolve
231
Array LengthAn int array is given.
easyNot startedSolve
232
First and Last ElementAn int array is given.
easyNot startedSolve
233
Count Even Numbers in an ArrayAn int array is given.
easyNot startedSolve
234
Count Elements Greater Than TenAn int array is given.
easyNot startedSolve
235
Sum of Even Numbers in an ArrayAn int array is given.
easyNot startedSolve
236
Range of an ArrayAn int array is given.
easyNot startedSolve
237
Does the Array Contain a ValueAn int array is given.
easyNot startedSolve
238
Count Occurrences of a ValueAn int array is given.
easyNot startedSolve
239
Double Every ElementAn int array is given.
easyNot startedSolve
240
Index of the MaximumAn int array is given.
easyNot startedSolve
376
Product of All Array ElementsMultiply all elements of the array {1, 2, 3, 4, 5} together and print the single result with System.out.println (see Expected Output).
easyNot startedSolve
377
Count Odd Numbers in an ArrayThe array {3, 8, 5, 12, 7, 4, 9} is given.
easyNot startedSolve
378
Sum of First and Last ElementsThe array {10, 20, 30, 40, 50} is given.
easyNot startedSolve
379
Print Array Elements in ReverseThe array {1, 2, 3, 4, 5} is given.
easyNot startedSolve
380
Count Negative Numbers in an ArrayThe array {4, -2, 7, -8, -1, 3, 0} is given.
easyNot startedSolve
381
Sum of Odd Numbers in an ArrayThe array {3, 8, 5, 12, 7, 4, 9} is given.
easyNot startedSolve
382
Sum of Squares of Array ElementsThe array {1, 2, 3, 4} is given.
easyNot startedSolve
383
Count Elements Divisible by ThreeThe array {9, 4, 3, 7, 12, 5, 18} is given.
easyNot startedSolve
384
Swap First and Last ElementsThe array {1, 2, 3, 4, 5} is given.
easyNot startedSolve
385
Print Even-Indexed ElementsThe array {10, 20, 30, 40, 50, 60} is given.
easyNot startedSolve
386
Count Elements Equal to the FirstThe array {5, 3, 5, 5, 2, 5} is given.
easyNot startedSolve
387
Largest Absolute ValueThe array {3, -7, 2, -9, 4} is given.
easyNot startedSolve
388
Count Elements Less Than FiveThe array {2, 7, 4, 9, 1, 5, 3} is given.
easyNot startedSolve
147
Longest Word LengthRead an integer n, then read n words.
mediumNot startedSolve
241
Second Largest ElementAn int array is given.
mediumNot startedSolve
242
Element-wise Sum of Two ArraysTwo int arrays of the same length are given.
mediumNot startedSolve
243
Count Elements Above the AverageAn int array is given.
mediumNot startedSolve
244
Is the Array Sorted AscendingAn int array is given.
mediumNot startedSolve
245
Reverse an Array In PlaceAn int array is given.
mediumNot startedSolve
389
Linear Search for a ValueThe array {4, 8, 15, 16, 23, 42} is given.
mediumNot startedSolve
390
Second Smallest ElementThe array {7, 3, 9, 1, 5} is given.
mediumNot startedSolve
391
Check for Duplicate ValuesThe array {3, 5, 2, 5, 8} is given.
mediumNot startedSolve
392
Check if All Elements Are PositiveThe array {4, 9, 2, 7, 1} is given.
mediumNot startedSolve
393
Build a Prefix Sum ArrayThe array {2, 4, 6, 8} is given.
mediumNot startedSolve
394
Best Buy and Sell ProfitThe array {7, 1, 5, 3, 6, 4} holds daily prices in order.
mediumNot startedSolve
395
Concatenate Two ArraysTwo arrays a = {1, 2, 3} and b = {4, 5, 6} are given.
mediumNot startedSolve
396
Find the Missing NumberThe array {1, 2, 4, 5, 6} should contain the numbers 1 through 6, but exactly one is missing.
mediumNot startedSolve
397
Count Pairs Summing to a TargetThe array {1, 5, 7, -1, 5} is given.
mediumNot startedSolve
246
Sort an Array AscendingAn int array is given.
hardNot startedSolve
247
Most Frequent ElementAn int array is given (all values are between 0 and 9).
hardNot startedSolve
248
Rotate an Array Left by OneAn int array is given.
hardNot startedSolve
398
Merge Two Sorted ArraysTwo already-sorted arrays a = {1, 3, 5, 7} and b = {2, 4, 6, 8} are given.
hardNot startedSolve
399
Move All Zeros to the EndThe array {0, 1, 0, 3, 12} is given.
hardNot startedSolve
400
Maximum Subarray SumThe array {-2, 1, -3, 4, -1, 2, 1, -5, 4} is given.
hardNot startedSolve