CJCoding With Joseph
15per day
TitleTopicsAction
154
Find Maximum in an ArrayAn int array is given. Find the largest value and print it. For { 12, 5, 19, 3,...
easy○ Not Started
Arrays
Solve
155
Sum of an ArrayAn int array is given. Add up all elements and print the total. For { 1, 2, 3, ...
easy○ Not Started
Arrays
Solve
156
Average of an ArrayAn int array is given. Print the integer average (sum divided by count). For { ...
easy○ Not Started
Arrays
Solve
157
Print Array ElementsAn int array is given. Print its elements on one line separated by single spaces...
easy○ Not Started
Arrays
Solve
158
Array LengthAn int array is given. Print how many elements it has using `.Length`. For { 3,...
easy○ Not Started
Arrays
Solve
159
First and Last ElementAn int array is given. Print its first and last elements separated by a space. ...
easy○ Not Started
Arrays
Solve
160
Count Even NumbersAn int array is given. Count how many elements are even and print the count. Fo...
easy○ Not Started
Arrays
Solve
161
Count Greater Than TenAn int array is given. Count how many elements are greater than 10 and print the...
easy○ Not Started
Arrays
Solve
162
Sum of Even NumbersAn int array is given. Add up only the even elements and print the total. For {...
easy○ Not Started
Arrays
Solve
163
Range of an ArrayAn int array is given. The range is the largest minus the smallest. Print the ra...
easy○ Not Started
Arrays
Solve
164
Does the Array Contain a ValueAn int array is given. Print 'Found' if the value 7 appears anywhere, otherwise ...
easy○ Not Started
Arrays
Solve
165
Count Occurrences of a ValueAn int array is given. Count how many times the value 2 appears and print the co...
easy○ Not Started
Arrays
Solve
166
Double Every ElementAn int array is given. Print each element multiplied by 2, on one line separated...
easy○ Not Started
Arrays
Solve
167
Index of the MaximumAn int array is given. Print the index (starting at 0) of the largest element. ...
easy○ Not Started
Arrays
Solve
168
Find Minimum in an ArrayAn int array is given. Find the smallest value and print it. For { 12, 5, 19, 3...
easy○ Not Started
Arrays
Solve
169
Sum With foreachAn int array is given. Use a `foreach` loop to add up its elements and print the...
easy○ Not Started
Arrays
Solve
170
Second Largest ElementAn int array is given. Find and print the second largest value. For { 12, 5, 19...
medium○ Not Started
Arrays
Solve
171
Element-wise Sum of Two ArraysTwo int arrays of equal length are given. Print a line where each position holds...
medium○ Not Started
Arrays
Solve
172
Count Above the AverageAn int array is given. Compute its integer average, then count how many elements...
medium○ Not Started
Arrays
Solve
173
Is the Array SortedAn int array is given. Print 'Sorted' if every element is less than or equal to ...
medium○ Not Started
Arrays
Solve
174
Sum a List<int>Create a `List<int>`, add the values 5, 10, and 15 to it, then print the total o...
medium○ Not Started
Arrays
Solve
175
Reverse an Array In PlaceAn int array is given. Reverse it by swapping (no second array), then print it o...
medium○ Not Started
Arrays
Solve
176
Sort an Array AscendingAn int array is given. Sort it ascending WITHOUT using Array.Sort (write the sor...
hard○ Not Started
Arrays
Solve
177
Most Frequent ElementAn int array is given (all values 0-9). Print the value that appears most often....
hard○ Not Started
Arrays
Solve
178
Rotate an Array Left by OneAn int array is given. Rotate it one position left: each element moves down one ...
hard○ Not Started
Arrays
Solve