CJCoding With Joseph
TitleTopicsAction
55
Array Sorted OrderWrite a program that reads exactly 5 integers into an array. Determine whether t...
easy○ Not Started
Arrays
Solve
56
Count Words in Char ArrayWrite a program that reads a line of text into a character array and counts how ...
easy○ Not Started
Arrays
Solve
89
Print First ElementAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
90
Print Last ElementAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
91
Print Array SizeAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
92
Change an ElementAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
93
Print Third ElementAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
94
Print All ElementsAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
95
Print All on One Line with SpacesAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
96
Sum All ElementsAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
97
Count the Elements with a LoopAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
98
Find the Largest ElementAn array called nums has already been created for you with the values {10, 40, 2...
easy○ Not Started
Arrays
Solve
99
Find the Smallest ElementAn array called nums has already been created for you with the values {30, 10, 5...
easy○ Not Started
Arrays
Solve
100
Print Elements with Comma SeparatorAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
101
Print in Reverse OrderAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
102
Calculate the AverageAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
103
Count Even NumbersAn array called nums has already been created for you with the values {10, 15, 2...
easy○ Not Started
Arrays
Solve
104
Count Odd NumbersAn array called nums has already been created for you with the values {10, 15, 2...
easy○ Not Started
Arrays
Solve
105
Sum Even Numbers OnlyAn array called nums has already been created for you with the values {10, 15, 2...
easy○ Not Started
Arrays
Solve
106
Print Elements Greater Than 25An array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
107
Double Each Element and PrintAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
108
Print Elements with Their IndexAn array called nums has already been created for you with the values {10, 20, 3...
easy○ Not Started
Arrays
Solve
418
Count Negative NumbersThe program reads an integer `n`, then reads `n` integers into an array. Count h...
easy○ Not Started
Arrays
Solve
419
Sum of Squares of ElementsAn array `int nums[] = {1, 2, 3, 4}` is given. Compute the sum of the squares of...
easy○ Not Started
Arrays
Solve
420
Count Elements Divisible by 3An array `int nums[] = {3, 5, 9, 10, 12, 7, 6}` is given. Count how many element...
easy○ Not Started
Arrays
Solve
421
Find Range (Max minus Min)An array `int nums[] = {7, 2, 9, 4, 11, 5}` is given. The range is the largest e...
easy○ Not Started
Arrays
Solve
422
Print Elements at Odd IndicesAn array `int nums[] = {10, 20, 30, 40, 50, 60}` is given. Print the elements th...
easy○ Not Started
Arrays
Solve
423
Product of First and Last ElementsAn array `int nums[] = {3, 8, 2, 5, 6}` is given. Multiply the first element by ...
easy○ Not Started
Arrays
Solve
57
Count Words with Extra SpacesWrite a program that reads a line of text into a character array and counts how ...
medium○ Not Started
Arrays
Solve
109
Swap First and LastAn array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
110
Shift Elements LeftAn array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
111
Find Second LargestAn array called nums has already been created for you with the values {10, 40, 2...
medium○ Not Started
Arrays
Solve
112
Linear SearchAn array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
113
Copy Array to Another ArrayAn array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
114
Reverse Array In PlaceAn array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
115
Count How Many Times a Value AppearsAn array called nums has already been created for you with the values {10, 20, 1...
medium○ Not Started
Arrays
Solve
116
Sum of Elements at Even IndicesAn array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
117
Find Index of MinimumAn array called nums has already been created for you with the values {30, 10, 5...
medium○ Not Started
Arrays
Solve
118
Check if All Elements Are the SameAn array called nums has already been created for you with the values {10, 10, 1...
medium○ Not Started
Arrays
Solve
119
Multiply All Elements TogetherAn array called nums has already been created for you with the values {2, 3, 4, ...
medium○ Not Started
Arrays
Solve
120
Print Pairs that Sum to TargetAn array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
121
Remove Duplicates and PrintAn array called nums has already been created for you with the values {10, 20, 1...
medium○ Not Started
Arrays
Solve
122
Merge Two ArraysTwo arrays have already been created for you: - arr1 with values {10, 20, 30} (3...
medium○ Not Started
Arrays
Solve
123
Running Sum (Prefix Sum)An array called nums has already been created for you with the values {10, 20, 3...
medium○ Not Started
Arrays
Solve
424
Count Elements Greater Than the AverageAn array `int nums[] = {2, 4, 6, 8, 11}` is given. First compute the average of ...
medium○ Not Started
Arrays
Solve
425
Replace Negatives with ZeroAn array `int nums[] = {3, -1, 4, -5, 2, -9}` is given. Print all elements on on...
medium○ Not Started
Arrays
Solve
426
Rotate Array Right by OneThe program reads an integer `n`, then reads `n` integers into an array. Rotate ...
medium○ Not Started
Arrays
Solve
427
Find Second Smallest ElementAn array `int nums[] = {5, 2, 8, 1, 9, 3}` is given. Print the second smallest e...
medium○ Not Started
Arrays
Solve
58
Word Count and Length StatsWrite a program that reads a line of text into a character array and reports thr...
hard○ Not Started
Arrays
Solve
428
Count Peak ElementsAn array `int nums[] = {1, 3, 2, 4, 1, 0, 5}` is given. A peak is an element tha...
hard○ Not Started
Arrays
Solve