Download results
Showing 0-0 of 0 results
Items per page:
10
25
50
100
#
Exercise Title
Features
Description
Platform
Keywords
1
Arrays Introduction Review Questions
Question
,
Battery
CS1-level introduction to arrays review questions.
OpenDSA
Array
2
2D Arrays Review Questions
Question
,
Battery
CS1-level introduction to 2D arrays review questions.
OpenDSA
Array
3
Iterating with 2D Arrays Review Questions
Question
,
Battery
CS1-level interating with 2D arrays review questions.
OpenDSA
Array
4
Arrays - Find Min
Free Coding Problem
Coding Question
CodeWorkout
array
5
Array Declaration
Array Declaration
AnnEx
2d arrays
,
arrays
6
Array Demo
Java CodeVisualization for demonstrating Array Demo
JSVEE
2d arrays
,
arrays
7
Iterating with Arrays Review Questions
Question
,
Battery
CS1-level iterating over arrays review questions.
OpenDSA
Array
,
For-Each Loop
8
Arrays Module Review Questions
Question
,
Battery
CS1-level introduction to arrays module review questions.
OpenDSA
Array
,
For-Each Loop
9
Array-Based List Insertion Proficiency Exercise
Tracing Exercise
Array-based list interactive proficiency exercise. Users click on values in an array to show how insertion takes place.
OpenDSA
Array-Based List
10
Array-Based List Remove Proficiency Exercise
Tracing Exercise
Array-based list interactive proficiency exercise. Users click on values in an array to show how remove takes place.
OpenDSA
Array-Based List
11
Array-Based List Review Questions
Question
,
Battery
Array-based list battery of self-assessment questions.
OpenDSA
Array-Based List
12
Circular Array-Based Queue Dequeue Proficiency Exercise
Tracing Exercise
Array-based queue dequeue proficiency exercise. Users click on values in a circular array display to show how dequeue takes place.
OpenDSA
Array-Based Queue
13
Circular Array-Based Queue Enqueue Proficiency Exercise
Tracing Exercise
Array-based queue enqueue proficiency exercise. Users click on values in a circular array display to show how enqueue takes place.
OpenDSA
Array-Based Queue
14
Array-Based Stacks Pop Proficiency Exercise
Tracing Exercise
Array-based stack pop proficiency exercise. Users click on values in a linked list display to show how pop takes place.
OpenDSA
Array-Based Stack
15
Array-Based Stack Push Proficiency Exercise
Tracing Exercise
Array-based stack push proficiency exercise. Users click on values in a linked list display to show how push takes place.
OpenDSA
Array-Based Stack
16
Recursive Operations in a Binary Tree
Presentation
Slideshow discussing recursive operations on a binary tree.
OpenDSA
Array-Based Stack
17
Array-based List Append Slideshow
Algorithm Visualization
,
Code Tracing Presentation
Slideshow demonstrating the array-based list append operation.
OpenDSA
Array-Based List
18
Array-based List Insertion Slideshow
Algorithm Visualization
,
Code Tracing Presentation
Slideshow demonstrating array-based list insertion.
OpenDSA
Array-Based List
19
Array-based List Introduction Slideshow
Presentation
Slideshow presenting the array-based list implementation.
OpenDSA
Array-Based List
20
Array-based List Remove Slideshow
Algorithm Visualization
,
Code Tracing Presentation
Slideshow demonstrating array-based list remove.
OpenDSA
Array-Based List
21
Array-based List Private Data Members
Code Tracing Presentation
Slideshow presenting the private data members from an array-based list implementation.
OpenDSA
Array-Based List
22
Array-Based Queue Design Problem Slideshow
Algorithm Visualization
Slideshow presenting the problem that elements in an array-based queue will eventually run out of space.
OpenDSA
Array-Based Queue
23
Circular Array-Based Queue Design Slideshow: Concepts
Algorithm Visualization
Slideshow presenting the concept of a circular array-based queue.
OpenDSA
Array-Based Queue
24
Array-Based Queue Drift Slideshow
Algorithm Visualization
Slideshow presenting the a design that allows elements in an array-based queue to drift.
OpenDSA
Array-Based Queue
25
Circular Array-Based Queue Empty Representation Slideshow
Algorithm Visualization
Slideshow presenting design options for recognizing when an array-based queue is empty or full.
OpenDSA
Array-Based Queue
26
Array-Based Queue Positions Slideshow
Algorithm Visualization
Slideshow presenting an initial design for storing a queue in an array.
OpenDSA
Array-Based Queue
27
Circular Array-Based Queue Design Slideshow: Data Members
Code Tracing Presentation
Slideshow presenting the data members for a circular array-based queue implementation.
OpenDSA
Array-Based Queue
28
Array-Based Stack Pop Slideshow
Algorithm Visualization
,
Code Tracing Presentation
Slideshow discussing the implementation for the pop operation in an array-based stack.
OpenDSA
Array-Based Stack
29
Array-Based Stack Push Slideshow
Algorithm Visualization
,
Code Tracing Presentation
Slideshow discussing the implementation for the push operation in an array-based stack.
OpenDSA
Array-Based Stack
30
Array-Based Stack Top Slideshow
Code Tracing Presentation
Slideshow discussing the implementation for the top position in an array-based stack.
OpenDSA
Array-Based Stack
31
Array-Based Stack Data Members Slideshow
Code Tracing Presentation
Slideshow presenting the data members for an array-based stack implementation.
OpenDSA
Array-Based Stack
32
Graphs - Add Edges (Adjacency Matrix)
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
matrix
,
graph
,
code writing
33
Arrays - Counter Practice
Free Coding Problem
Coding Question
CodeWorkout
array
,
primitives
34
Exceptions - Array Error
Question
,
forced choice
Multiple Choice Question
CodeWorkout
array
,
primitives
,
MAX_VALUE
,
forced choice
35
Graphs - Breadth First Traversal
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
matrix
,
graph
,
unweighted
,
directed
,
traversal
,
code writing
36
Graphs - Create Matrix
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
matrix
,
graph
,
code writing
37
Graphs - Depth First Traversal
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
matrix
,
graph
,
unweighted
,
directed
,
traversal
,
code writing
38
Exception Handling - Basics
Free Coding Problem
Coding Question
CodeWorkout
array
,
primitives
39
Arrays - Expand Capacity
Free Coding Problem
Coding Question
CodeWorkout
array
,
int
40
Arrays - Find Ones
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
primitives
,
code writing
41
Sorting - Insertion Sort
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
sorting
,
insertion sort
,
code writing
42
Arrays - Perfect Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
perfect
,
imperfect
,
code writing
43
Graphs - Remove Vertex (Adjacency Matrix)
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
matrix
,
graph
,
code writing
44
Graphs - Remove Vertex 2 (Adjacency Matrix)
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
int
,
matrix
,
graph
,
code writing
45
Array - Reverse Concat Strings
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
review
,
array
,
loops
,
strings
,
code writing
46
Text Palindromes
Free Coding Problem
Coding Question
CodeWorkout
array
,
looping
,
if
,
condition
,
exception
47
rotateRight
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
loop
,
1213
,
cci
,
coding problem
48
isUnique
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
loop
,
1213
,
cci
,
coding problem
49
hasOdd
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
loops
,
coding problem
50
Merging two integer arrays
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
loops. merge
,
1213
,
cci
,
coding problem
51
minDiff
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
loop
,
1213
,
cci
,
coding problem
52
Array Position
Question
,
multiple choice
,
single answer
Multiple Choice Question
CodeWorkout
1212
,
array
,
items
,
cci
,
multiple choice
,
single answer
53
Size of array
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
cci
,
coding problem
54
Get nth element in array
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
cci
,
coding problem
55
Element in Array if Exists
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
cci
,
coding problem
56
Count negative values in array
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
cci
,
coding problem
57
Count strings longer than
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
cci
,
strings
,
coding problem
58
Count non-null strings
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
cci
,
strings
,
coding problem
59
Count Strings Longer Than and Not null
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
cci
,
strings
,
coding problem
60
Get smallest integer
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
coding problem
61
Get the longest string
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
String
,
cci
,
coding problem
62
Join all strings with separator
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
strings
,
cci
,
coding problem
63
Join all strings in array
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
Java
,
strings
,
cci
,
coding problem
64
Element in ArrayList
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
2214
,
coding problem
65
Find value within array in C++
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
code writing
66
Count dogs walks from array in C++
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
code writing
67
Array Bag Practice 2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
arraybag
,
code writing
68
Array Bag Practice 1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
arraybag
,
code writing
69
Get position of smallest integer
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
coding problem
70
Get first value
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
coding problem
71
Get last value
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
coding problem
72
Are all values even?
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
coding problem
73
Are all elements positive?
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
74
Are all elements negative?
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
75
Are all elements even?
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
76
Are all elements odd?
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
77
Are all elements greater than x?
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
78
Are all elements less than x?
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
79
Sum all the positive elements in the array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
80
Sum elements in the array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
81
Sum elements after a negative in the array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
array
,
logic
,
conditionals
,
if
,
code writing
82
Has Duplicates?
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
coding problem
83
Find position of value
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
array
,
cci
,
coding problem
84
Updating an Element in the Array (Case 1)
Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints...
PCEX
arrays
85
Updating an Element in the Array (Case 2)
Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,...
PCEX
arrays
86
Updating an Element in the Array (Case 3)
Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints...
PCEX
arrays
87
Modifying an Array (Case 1)
Construct a program that increments all elements of the array by 1.
PCEX
arrays
88
Modifying an Array (Case 2)
Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,...
PCEX
arrays
89
Creating an Array of Odd Numbers
Construct a program that creates an array of first ten positive odd numbers.
PCEX
arrays
90
Creating an Array of User Inputs
Construct a program that creates an array of eight string values received from the user.
PCEX
arrays
91
Finding the Maximum Value in an Array
Write a program that finds the maximum value in an array.
PCEX
arrays
92
Finding the Minimum Value in an Array
Write a program that finds the minimum value in an array.
PCEX
arrays
93
Calculating the Sum of the Values in an Array
Construct a program that computes the sum of all the values in an array.
PCEX
arrays
94
Calculating the Average of the Values in the Array
Construct a program that calculates the average of all the values in an array. The program should handle arrays with...
PCEX
arrays
95
Rotating the Array Values to the Left by One Position
Construct a program that has a method that receives an array of values and returns the array rotated to the...
PCEX
arrays
96
Rotating the Array Values to the Left by Two Position
Construct a program that has a method that receives an array of values and returns the array rotated to the...
PCEX
arrays
97
Rotating the Array Values to the Right by One Position
Construct a program that has a method that receives an array of values and returns the array rotated to the...
PCEX
arrays
98
Printing Common Elements in Two Arrays
Construct a program that has a method that receives two arrays and prints the values in the 2nd array that...
PCEX
arrays
99
Printing the Total Number of Times Elements of One Array Appear in Another Array
Construct a program that has a method that receives two arrays and prints the total number of times the elements...
PCEX
arrays
100
Creating an array that Contains the Numbers of Times Each Element of One Array Appears in Another Array
Construct a program that has a function that receives two arrays and creates an array that contains the number of...
PCEX
arrays
101
Updating an Element in the Array
Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints...
PCEX
arrays
102
Modifying an Array
Construct a program that increments all elements of the array by 1.
PCEX
arrays
103
Creating an Array of Numbers/Strings
Construct a program that creates an array of first ten positive odd numbers.
PCEX
arrays
104
Finding the Max/Min Value in an Array
Write a program that finds the maximum value in an array.
PCEX
arrays
105
Calculating Sum/Average of the Array Values
Construct a program that computes the sum of all the values in an array.
PCEX
arrays
106
Rotating the Array Values
Construct a program that has a method that receives an array of values and returns the array rotated to the...
PCEX
arrays
107
Searching Values of an Array in Another Array
Construct a program that has a method that receives two arrays and prints the values in the 2nd array that...
PCEX
arrays
108
Updating an Element in the Array (Case 2)
Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,...
PCEX
arrays
109
Updating an Element in the Array (Case 3)
Construct a program that initializes an array with four strings, changes the last element in the array, and finally, prints...
PCEX
arrays
110
Modifying an Array (Case 2)
Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,...
PCEX
arrays
111
Creating an Array of User Inputs
Construct a program that creates an array of eight string values received from the user.
PCEX
arrays
112
Finding the Minimum Value in an Array
Write a program that finds the minimum value in an array.
PCEX
arrays
113
Calculating the Average of the Values in the Array
Construct a program that calculates the average of all the values in an array. The program should handle arrays with...
PCEX
arrays
114
Rotating the Array Values to the Left by Two Position
Construct a program that has a method that receives an array of values and returns the array rotated to the...
PCEX
arrays
115
Rotating the Array Values to the Right by One Position
Construct a program that has a method that receives an array of values and returns the array rotated to the...
PCEX
arrays
116
Searching Arrays (Case 3)
Construct a program that has a function that receives two arrays and creates an array that contains the number of...
PCEX
arrays
117
Searching Arrays (Case 2)
Construct a program that has a method that receives two arrays and prints the total number of times the elements...
PCEX
arrays
118
Loop Array
Java PredictingFinalResult for demonstrating Loop Array
QuizJET
arrays
119
Select a short word
Code Completion
You want to pick a particular “short” word in an array of words, that is, words with at most three...
CodeCheck
Arrays and Array Lists
120
Short words
Code Completion
You want to collect all “short” words in an array of words, that is, words with at most three characters....
CodeCheck
Arrays and Array Lists
121
Run lengths
Code Completion
A run is a sequence of adjacent repeated values. For example, the array with elements
CodeCheck
Arrays and Array Lists
122
Letter frequency (count)
Code Completion
Write a method that computes how often each letter A-Z or a-z occurs in a string. Don't distinguish between upper-...
CodeCheck
Arrays and Array Lists
123
Number of even and odd elements
Code Completion
Count the number of even and odd elements in an array of integers. Since you must return two counts, place...
CodeCheck
Arrays and Array Lists
124
Swap adjacent elements in array
Code Completion
Your task is to complete a method that swaps adjacent values in an array of integers. For example, if the...
CodeCheck
Arrays and Array Lists
125
Same beginning and end sequence
Code Completion
Your task is to determine whether an array has the same sequence of numbers at the beginning and the end,...
CodeCheck
Arrays and Array Lists
126
List of numbers
Code Completion
When printing the elements in an array, you want commas between the elements, such as
CodeCheck
Arrays and Array Lists
127
Diagonals on board
Code Completion
You are given a class similar to the TicTacToe board in Section 7.6, but the board can have more than...
CodeCheck
Arrays and Array Lists
128
Border on board
Code Completion
You are given a class similar to the TicTacToe board in Section 7.6, but the board can have more than...
CodeCheck
Arrays and Array Lists
129
Remove short words
Code Completion
Remove all short words (that is, words of length at most 3) from an array. Move down the remaining array...
CodeCheck
Arrays and Array Lists
130
Railfence cypher
Code Completion
A simple way of encoding a message is the railfence cypher. The message is written downwards and diagonally on rails...
CodeCheck
Arrays and Array Lists
131
Swap first and second half of array
Code Completion
Your task is to complete a method that swaps the first and second half of an array of integers. For...
CodeCheck
Arrays and Array Lists
132
Letter frequency (percentage)
Code Completion
Write a method that computes the frequency (as a percentage between 0.0 and 1.0) of each letter A-Z or a-z...
CodeCheck
Arrays and Array Lists
133
Given an array of integers, return the position of the first occurrence of the largest element.
Code Completion
Given an array of integers, return the position of the first occurrence of the largest element.
CodeCheck
Arrays - Simple Exercises
,
Maximum and Minimum
134
Given an array of integers, return the difference of the positions of the first and the last occurrence of the largest element.
Code Completion
Given an array of integers, return the difference of the positions of the first and the last occurrence of the...
CodeCheck
Arrays - Simple Exercises
,
Maximum and Minimum
135
Given an array of integers, return the difference between the maximum and minimum.
Code Completion
Given an array of integers, return the difference between the maximum and minimum.
CodeCheck
Arrays - Simple Exercises
,
Maximum and Minimum
136
Given an array of integers, swap the the maximum and minimum.
Code Completion
Given an array of integers, swap the the maximum and minimum.
CodeCheck
Arrays - Simple Exercises
,
Maximum and Minimum
137
Given an array of integers, return the second-largest element.
Code Completion
Given an array of integers, return the second-largest element.
CodeCheck
Arrays - Simple Exercises
,
Maximum and Minimum
138
Given an array of integers, return the position of the last occurrence of the largest element.
Code Completion
Given an array of integers, return the position of the last occurrence of the largest element.
CodeCheck
Arrays - Simple Exercises
,
Maximum and Minimum
139
Given an array of element, find the shortest distance between two consecutive elements.
Code Completion
Given an array of element, find the shortest distance between two consecutive elements.
CodeCheck
Arrays - Simple Exercises
,
Maximum and Minimum
140
Given an array of integers of length ≥ 4, return the average of the first two and last two elements.
Code Completion
Given an array of integers of length ≥ 4, return the average of the first two and last two elements.
CodeCheck
Arrays - Simple Exercises
,
No loops
141
Given an array of integers, swap the first and last elements.
Code Completion
Given an array of integers, swap the first and last elements.
CodeCheck
Arrays - Simple Exercises
,
No loops
142
Given an array of integers, swap the first two and the last two elements.
Code Completion
Given an array of integers, swap the first two and the last two elements.
CodeCheck
Arrays - Simple Exercises
,
No loops
143
Given an array of integers of length ≥ 3, return the average of the first, last, and middle element (or the two middle elements if the length is even).
Code Completion
Given an array of integers of length ≥ 3, return the average of the first, last, and middle element (or...
CodeCheck
Arrays - Simple Exercises
,
No loops
144
Given an array of integers, replace each element with the average of its neighbors.
Code Completion
Given an array of integers, replace each element with the average of its neighbors.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
145
Given an array of integers and an integer n, return an array of the averages of n consecutive elements of the original array.
Code Completion
Given an array of integers and an integer n, return an array of the averages of n consecutive elements of...
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
146
Given an array of integers, give the largest sum of n consecutive elements.
Code Completion
Given an array of integers, give the largest sum of n consecutive elements.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
147
Given an array of integers, return the sum of all positive elements.
Code Completion
Given an array of integers, return the sum of all positive elements.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
148
Given an array of floating-point numbers, return an array of the averages of consecutive element pairs of the original array.
Code Completion
Given an array of floating-point numbers, return an array of the averages of consecutive element pairs of the original array.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
149
Given an array of integers and two values a and b, return the sum of all elements that are at least a and at most b.
Code Completion
Given an array of integers and two values a and b, return the sum of all elements that are at...
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
150
Given an array of integers, return the average of all positive elements.
Code Completion
Given an array of integers, return the average of all positive elements.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
151
Given an array of strings and a string s, return the average length of all strings containing s.
Code Completion
Given an array of strings and a string s, return the average length of all strings containing s.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
152
Given an array of integers, return the average of all elements that are not the maximum or minimum.
Code Completion
Given an array of integers, return the average of all elements that are not the maximum or minimum.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
153
Given an array of integers, return the product of all non-zero elements.
Code Completion
Given an array of integers, return the product of all non-zero elements.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
154
Given an array of integers, return the sum of all odd elements.
Code Completion
Given an array of integers, return the sum of all odd elements.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
155
Given an array of integers, find the largest sum of two different elements in the array.
Code Completion
Given an array of integers, find the largest sum of two different elements in the array.
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
156
Given an array of integers, give the largest n ≤ length / 2 so that the sum of the first n elements equals the sum of the last n elements.
Code Completion
Given an array of integers, give the largest n ≤ length / 2 so that the sum of the first...
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
157
Given an array of integers, give the smallest n so that the sum of the first n elements is at least as large as the sum of the remaining elements.
Code Completion
Given an array of integers, give the smallest n so that the sum of the first n elements is at...
CodeCheck
Arrays - Simple Exercises
,
Sums
,
Averages
,
Products
158
Given an array of integers, return an array of length 2 containing the first and last element, in sorted order.
Code Completion
Given an array of integers, return an array of length 2 containing the first and last element, in sorted order.
CodeCheck
Arrays - Simple Exercises
,
Two Answers
159
Given an array of integers, return an array of length 2, with the number of positive and the number of negative elements in the array.
Code Completion
Given an array of integers, return an array of length 2, with the number of positive and the number of...
CodeCheck
Arrays - Simple Exercises
,
Two Answers
160
Given an array of integers, return an array of length 2, each being an array.
Code Completion
Given an array of integers, return an array of length 2, each being an array. The first one holds the...
CodeCheck
Arrays - Simple Exercises
,
Two Answers
161
Given an array of integers, return an array of length 2, each being an array.
Code Completion
Given an array of integers, return an array of length 2, each being an array. The first one holds the...
CodeCheck
Arrays - Simple Exercises
,
Two Answers
162
Given an array of integers, return an array of length 2 containing the minimum and the maximum.
Code Completion
Given an array of integers, return an array of length 2 containing the minimum and the maximum.
CodeCheck
Arrays - Simple Exercises
,
Two Answers
163
Given an integer n, fill an array of length n with 1 -1 1 -1 .
Code Completion
Given an integer n, fill an array of length n with 1 -1 1 -1 ...
CodeCheck
Arrays - Simple Exercises
,
Filling
164
Given integers a and b, fill an array with a, a + 1, a + 2, .
Code Completion
Given integers a and b, fill an array with a, a + 1, a + 2, ..., b.
CodeCheck
Arrays - Simple Exercises
,
Filling
165
Given integers a and b, fill an array containing all even numbers that are at least a and at most b.
Code Completion
Given integers a and b, fill an array containing all even numbers that are at least a and at most...
CodeCheck
Arrays - Simple Exercises
,
Filling
166
Given an integer n, fill an array with 1 2 2 3 3 3 4 4 4 4 .
Code Completion
Given an integer n, fill an array with 1 2 2 3 3 3 4 4 4 4 ... and...
CodeCheck
Arrays - Simple Exercises
,
Filling
167
Given integers n and k, fill an array of length n with 0 1 2 .
Code Completion
Given integers n and k, fill an array of length n with 0 1 2 ... k-1 0 1 2...
CodeCheck
Arrays - Simple Exercises
,
Filling
168
Given an array of integers and an integer n, remove all elementts > n or < -n.
Code Completion
Given an array of integers and an integer n, remove all elementts > n or < -n. Shift all remaining...
CodeCheck
Arrays - Simple Exercises
,
Moving or Removing Elements
169
Given an array of integers, move all zeroes to the front.
Code Completion
Given an array of integers, move all zeroes to the front.
CodeCheck
Arrays - Simple Exercises
,
Moving or Removing Elements
170
Given an array of integers, move all negative numbers to the front and all positive numbers to the back, keeping their relative order.
Code Completion
Given an array of integers, move all negative numbers to the front and all positive numbers to the back, keeping...
CodeCheck
Arrays - Simple Exercises
,
Moving or Removing Elements
171
Given an array of integers, remove all even elements that occur exactly twice.
Code Completion
Given an array of integers, remove all even elements that occur exactly twice.
CodeCheck
Arrays - Simple Exercises
,
Moving or Removing Elements
172
Given an array of integers, remove all adjacent duplicates.
Code Completion
Given an array of integers, remove all adjacent duplicates.
CodeCheck
Arrays - Simple Exercises
,
Moving or Removing Elements
173
Given an array of integers, move all zeroes to the back.
Code Completion
Given an array of integers, move all zeroes to the back.
CodeCheck
Arrays - Simple Exercises
,
Moving or Removing Elements
174
Given an array of integers and a value, return the position of the last occurrence of the value in the array, or -1 if the value does not exist.
Code Completion
Given an array of integers and a value, return the position of the last occurrence of the value in the...
CodeCheck
Arrays - Simple Exercises
,
Finding Elements
175
Given an array of integers and a value, fill an array with all positions of the value in the array.
Code Completion
Given an array of integers and a value, fill an array with all positions of the value in the array.
CodeCheck
Arrays - Simple Exercises
,
Finding Elements
176
Given an array of integers and a value, return the position of the element that is closest to the value.
Code Completion
Given an array of integers and a value, return the position of the element that is closest to the value....
CodeCheck
Arrays - Simple Exercises
,
Finding Elements
177
Given an array of integers and a value, return the difference between the last and first position of the value in the array, or -1 if the value does not exist.
Code Completion
Given an array of integers and a value, return the difference between the last and first position of the value...
CodeCheck
Arrays - Simple Exercises
,
Finding Elements
178
Given an array a, return the longest n so that the first n elements equal the last n elements.
Code Completion
Given an array a, return the longest n so that the first n elements equal the last n elements.
CodeCheck
Arrays - Simple Exercises
,
Double Loops
179
Given an array of integers, return the largest sum of consecutive elements.
Code Completion
Given an array of integers, return the largest sum of consecutive elements.
CodeCheck
Arrays - Simple Exercises
,
Double Loops
180
Given an array of integers, return the largest sequence whose reverse also occurs somewhere in the array.
Code Completion
Given an array of integers, return the largest sequence whose reverse also occurs somewhere in the array.
CodeCheck
Arrays - Simple Exercises
,
Double Loops
181
Given an array a of integers, return an array of all elements of a that occur exactly once.
Code Completion
Given an array a of integers, return an array of all elements of a that occur exactly once.
CodeCheck
Arrays - Simple Exercises
,
Double Loops
182
Given two arrays a and b, return an array that contains all elements occurring in a but not in b.
Code Completion
Given two arrays a and b, return an array that contains all elements occurring in a but not in b.
CodeCheck
Arrays - Simple Exercises
,
Double Loops
183
Given an array of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a + 2, .
Code Completion
Given an array of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a...
CodeCheck
Arrays - Simple Exercises
,
Double Loops
184
Given an array of integers, return an array of arrays of length 2, containing each unique element together with its frequency.
Code Completion
Given an array of integers, return an array of arrays of length 2, containing each unique element together with its...
CodeCheck
Arrays - Simple Exercises
,
Double Loops
185
Given two arrays of integers a and b of the same length, count the number of positions where the array elements differ by at least 2.
Code Completion
Given two arrays of integers a and b of the same length, count the number of positions where the array...
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
186
Given an array of integers, count how many elements are negative.
Code Completion
Given an array of integers, count how many elements are negative.
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
187
Given an array of integers, return the most frequent element.
Code Completion
Given an array of integers, return the most frequent element. If there is more than one element with maximum frequency,...
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
188
Given an array of integers, return an array of all elements that occur with maximum frequency.
Code Completion
Given an array of integers, return an array of all elements that occur with maximum frequency.
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
189
Given an array of integers, return the position of the first element that occurs more than once, or -1 if all elements occur exactly once.
Code Completion
Given an array of integers, return the position of the first element that occurs more than once, or -1 if...
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
190
Given an array of integers, return an array of all elements that occur exactly once.
Code Completion
Given an array of integers, return an array of all elements that occur exactly once.
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
191
Given an array of integers and two values a and b, count how many elements are at least a and at most b.
Code Completion
Given an array of integers and two values a and b, count how many elements are at least a and...
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
192
Given an array a, count how many times the ith element from the front equals the ith element from the back.
Code Completion
Given an array a, count how many times the ith element from the front equals the ith element from the...
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
193
Given an array of integers, remove all elements that occur more than once, leaving the first occurrence.
Code Completion
Given an array of integers, remove all elements that occur more than once, leaving the first occurrence.
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
194
Sum 3 integers in array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
195
Arrays - Double Array
Free Coding Problem
Coding Question
CodeWorkout
for loop
,
looping
,
int
,
math
,
multiplication
,
array
196
Arrays - Find four
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
if
,
condition
,
loop
,
array
,
code writing
197
Arrays - Find the Last Number
Free Coding Problem
Coding Question
CodeWorkout
int
,
looping
,
array
198
Arrays - Verify Produce
Free Coding Problem
Coding Question
CodeWorkout
review
,
array
,
for loop
,
conditional
199
Reverse Array
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
Java
,
strings
,
cci
,
coding problem
200
Reverse Generic Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
reverse
,
CS2114
,
generics
,
code writing
201
Truncate Generic Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
truncate
,
CS2114
,
generics
,
code writing
202
OOP Create Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
2114
,
code writing
203
Create an array of ints
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
cci
,
2214
,
code writing
204
Rotating the List Values to the Right by Two Position
Construct a program that has a function that receives a list of values and returns the list rotated to the...
PCEX
arrays
205
Finding the Number of Days Above the Average Temperature
Construct a program that reads a series of temperatures and reports the average temperature and the number of the days...
PCEX
arrays
206
Displaying the Days That are Above 32 Degrees Fahrenheit
Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume...
PCEX
arrays
207
3-19_ArrayDemos
Java BehaviorExample for demonstrating 3-19_ArrayDemos
AnnEx
arrays
208
3-19_ShowBackwards
Java BehaviorExample for demonstrating 3-19_ShowBackwards
AnnEx
arrays
209
Create ArrayList
Create ArrayList
AnnEx
arraylist
210
ArrayList Demo
ArrayList Demo
AnnEx
arraylist
211
ArrayList Tester
Java BehaviorExample for demonstrating ArrayList Tester
AnnEx
arraylist
212
Bank
Java BehaviorExample for demonstrating Bank
AnnEx
arraylist
213
(Arraylists) Ex1 - CsEdPad
This program shows a person original travel list and creating new travel list from original and making some changes on...
AnnEx
arraylist
214
(Arrays) Grade scores - CSEdPad
This program stores the grades of 10 students in the Natural Language Processing class. Then, the program calculates the highest...
AnnEx
arrays
215
Grade Book
Java BehaviorExample for demonstrating Grade Book
AnnEx
arraylist
216
For-Each with ArrayList
For-Each with ArrayList
AnnEx
arraylist
217
ArrayList Demo
Java CodeVisualization for demonstrating ArrayList Demo
JSVEE
arraylist
,
list
218
For-Each with ArrayList
Java CodeVisualization for demonstrating For-Each with ArrayList
JSVEE
arraylist
,
list
219
Switch Demo 2
Java CodeVisualization for demonstrating Switch Demo 2
JSVEE
arraylist
,
conditionals
,
switch statement
220
Lists and ArrayList Class Review Quiz
Question
,
Battery
Introduction to lists and the ArrayList class for CS1 review questions.
OpenDSA
ArrayList Class
221
Creating a List of Words from File(s)
Construct a program that reads a text file and creates a list of the words that the file contains, ignoring...
PCEX
arraylist
,
file i/o
,
list
222
Processing a List of Temperature Values
Construct a program that reads a series of temperatures and reports the average temperature and the number of the days...
PCEX
arrays
223
Comparing the List of Words from Two Files
Construct a program that reads two text files and creates a list of the words that each of these files...
PCEX
arraylist
,
file i/o
224
Rotating the List Values to the Right by Two Position
Construct a program that has a function that receives a list of values and returns the list rotated to the...
PCEX
arrays
225
Displaying the Days That are Above 32 Degrees Fahrenheit
Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume...
PCEX
arrays
226
Arrays 3
Java PredictingFinalResult for demonstrating Arrays 3
QuizJET
2d arrays
,
arrays
,
classes
,
objects
227
Arrays 4
Java PredictingFinalResult for demonstrating Arrays 4
QuizJET
2d arrays
,
arraylist
,
arrays
,
loops
,
overloading
228
Arrays 5
Java PredictingFinalResult for demonstrating Arrays 5
QuizJET
2d arrays
,
arrays
,
classes
,
objects
229
ArrayList 1
Java PredictingFinalResult for demonstrating ArrayList 1
QuizJET
arraylist
,
linked list
,
list
230
ArrayList 2
Java PredictingFinalResult for demonstrating ArrayList 2
QuizJET
arraylist
231
ArrayList 3
Java PredictingFinalResult for demonstrating ArrayList 3
QuizJET
arraylist
,
list
232
ArrayList 4
Java PredictingFinalResult for demonstrating ArrayList 4
QuizJET
arraylist
,
list
233
ArrayList 5
Java PredictingFinalResult for demonstrating ArrayList 5
QuizJET
arraylist
234
jLabArray1
Java PredictingFinalResult for demonstrating jLabArray1
QuizJET
arraylist
,
arrays
,
loops
,
overloading
235
Question 7
Java PredictingFinalResult for demonstrating Question 7
QuizJET
arrays
236
Question 8
Java PredictingFinalResult for demonstrating Question 8
QuizJET
arraylist
237
Given two arrays of integers of the same length, return the first position where their elements are the same.
Code Completion
Given two arrays of integers of the same length, return the first position where their elements are the same.
CodeCheck
Arrays - Simple Exercises
,
Finding Elements
238
Given two arrays of integers of the same length, return the first position where their elements differ.
Code Completion
Given two arrays of integers of the same length, return the first position where their elements differ.
CodeCheck
Arrays - Simple Exercises
,
Finding Elements
239
Given two arrays a and b, remove all elements of b from a.
Code Completion
Given two arrays a and b, remove all elements of b from a.
CodeCheck
Arrays - Simple Exercises
,
Double Loops
240
Given two arrays of integers a and b of the same length, count the number of positions where the arrays have the same elements.
Code Completion
Given two arrays of integers a and b of the same length, count the number of positions where the arrays...
CodeCheck
Arrays - Simple Exercises
,
Counting Elements
241
plusTwo
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
242
frontPiece
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
243
bigDiff
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
244
centeredAverage
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
245
fizzArray
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
246
fizzArray2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
247
has22
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
248
lucky13
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
249
sum28
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
250
more14
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
251
only14
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
252
fizzBuzz
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
253
no14
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
254
either24
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
255
has77
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
256
has12
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
257
haveThree
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
258
twoTwo
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
259
canBalance
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
260
maxSpan
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
261
fix34
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
262
maxMirror
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
263
evenOdd
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
264
seriesUp
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
265
lastTwo
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
266
tripleUp
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
267
fizzArray3
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
268
shiftLeft
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
269
post4
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
270
notAlone
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
271
zeroFront
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
272
linearIn
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
273
squareUp
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
274
array11
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
recursion
,
logic
,
conditionals
,
arrays
,
code writing
275
array220
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
recursion
,
logic
,
conditionals
,
arrays
,
code writing
276
array6
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
recursion
,
logic
,
conditionals
,
arrays
,
code writing
277
sumArray
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
278
sumAlternates
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
279
averageArray
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
conditionals
,
code writing
280
arrayOfMultiples
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
281
concatStrings
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
strings
,
code writing
282
reverseConcatStrings
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
strings
,
code writing
283
countElements
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
conditionals
,
code writing
284
maxInArray
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
conditionals
,
code writing
285
minInArray
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
conditionals
,
code writing
286
priceRange
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
conditionals
,
code writing
287
swapAdjacent
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
288
reverseStringToArray
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
strings
,
code writing
289
arrayFromTwoStrings
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
strings
,
conditionals
,
code writing
290
ArrayList - Understanding Instantiation
Question
,
forced choice
Multiple Choice Question
CodeWorkout
arraylist
,
primitive
,
forced choice
291
ArrayList - Coding Practice
Free Coding Problem
Coding Question
CodeWorkout
arraylist
,
coding
292
Attendance records
Free Coding Problem
Coding Question
CodeWorkout
arraylist
,
coding
293
ArrayList - Understanding Implementation
Question
,
forced choice
,
fill in the blank
Multiple Choice Question
CodeWorkout
arraylist
,
interface
,
forced choice
,
fill in the blank
294
ArrayList - Understanding Expansion
Question
,
forced choice
,
fill in the blank
Multiple Choice Question
CodeWorkout
arraylist
,
forced choice
,
fill in the blank
295
ArrayList - Understanding Indexing
Question
,
forced choice
Multiple Choice Question
CodeWorkout
arraylist
,
indexing
,
multiple choice
,
forced choice
296
ArrayList [BigO] - ArrayList Time Complexity
Question
,
forced choice
Multiple Choice Question
CodeWorkout
arraylist
,
BigO
,
time complexity
,
multiple choice
,
forced choice
297
getLongestString
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
loops
,
String
,
1213
,
cci
,
coding problem
298
getMaxLength
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
loops
,
String
,
1213
,
cci
,
coding problem
299
mirrorList
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
loops
,
1213
,
cci
,
coding problem
300
removeOdd
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
loops
,
1213
,
cci
,
coding problem
301
repeatOdd
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
loops
,
1213
,
cci
,
coding problem
302
Turn Bag to Set
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
set
,
code writing
303
ArrayBag bingo
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
CS2114
,
code writing
304
Count Strings in ArrayList longer than
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
Java
,
strings
,
cci
,
coding problem
305
Remove Strings Longer Than...
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arraylist
,
Java
,
strings
,
cci
,
coding problem
306
Get Largest Red Ball
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
307
Create Child Class
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
308
Create ToString
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
309
Polymorphism Practice 1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
310
Is Big Shape
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
311
Find Largest Shape
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
312
Computer Equals
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
313
Get Model
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
code writing
314
ArrayBag toString
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
toString
,
CS2114
,
code writing
315
ArrayBag Clear
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
clear
,
CS2114
,
code writing
316
ArrayBag GetFrequencyOf
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
getFrequencyOf
,
CS2114
,
code writing
317
Mystery Parameter
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
CS2114
,
generics
,
code writing
318
Generics get largest value
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
CS2114
,
generics
,
code writing
319
Tablet Equals
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
bag
,
ADT
,
2114
,
equals
,
code writing
320
Binary Search 1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
ADT
,
iterator
,
bunarySearch
,
binary
,
search
,
code writing
321
Binary Search 2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
ADT
,
iterator
,
bunarySearch
,
binary
,
search
,
code writing
322
Iterators SinglyLinkedList next()
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
ADT
,
iterator
,
LinkedList
,
single
,
code writing
323
Iterators SinglyLinkedList remove()
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
ADT
,
iterator
,
code writing
324
Iterators DoublyLinkedList next()
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
ADT
,
iterator
,
code writing
325
Iterators DoublyLinkedList remove()
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
ADT
,
iterator
,
code writing
326
makeAndInit
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
cci
,
2214
,
code writing
327
expandAndCopyArray
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
cci
,
2214
,
code writing
328
ArrayLists 1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
code writing
329
ArrayLists 2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
code writing
330
ArrayLists 3
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
code writing
331
ArrayLists 4
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
code writing
332
ArrayList Contains Value
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
333
Arrays
Question
,
forced choice
Multiple Choice Question
CodeWorkout
arrays
,
forced choice
334
Search in the last n
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
arrays
,
loops
,
linear search
,
cci
,
coding problem
335
frontPiece extended
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
arrays
,
loops
,
code writing
336
Updating Two-Dimensional Array (Case 1)
Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the...
PCEX
2d arrays
337
Updating Two-Dimensional Array (Case 2)
Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the...
PCEX
2d arrays
338
Updating Two-Dimensional Array (Case 3)
Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,...
PCEX
2d arrays
339
Printing Table of Medal Winner Counts with Row Totals
Assume that we have an array of countries that stores the names of the seven countries that participated in the...
PCEX
2d arrays
340
Printing Table of Medal Winner Counts with Row and Column Totals
Assume that we have an array of countries that stores the names of the seven countries that participated in the...
PCEX
2d arrays
341
Create 2D Array
Create 2D Array
AnnEx
2d arrays
,
arrays
,
variables
342
(Two-dim arrays) Matrix multiply - CSEdPad
This program demonstrates the multiplication of two matrices using a two-dimensional array
AnnEx
2d arrays
343
For-each with char array
For-each with char array
AnnEx
2d arrays
,
arrays
344
Multidimensional Array Iteration
Multidimensional Array Iteration
AnnEx
2d arrays
,
arrays
345
Use 2D Array
Use 2D Array
AnnEx
2d arrays
,
arithmetic operations
,
arrays
,
variables
346
2D array Demo
Java CodeVisualization for demonstrating 2D array Demo
JSVEE
2d arrays
,
arrays
347
Use 2D Array
Java CodeVisualization for demonstrating Use 2D Array
JSVEE
2d arrays
,
arrays
348
Updating an Element in the 2D Array
Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the...
PCEX
2d arrays
,
arrays
349
Printing Table of Medal Counts with Row/Column Total
Assume that we have an array of countries that stores the names of the seven countries that participated in the...
PCEX
2d arrays
350
Updating Two-Dimensional Array (Case 2)
Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the...
PCEX
2d arrays
,
arrays
351
Updating Two-Dimensional Array (Case 3)
Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,...
PCEX
2d arrays
,
arrays
352
Printing Table of Medal Winner Counts with Row and Column Totals
Assume that we have an array of countries that stores the names of the seven countries that participated in the...
PCEX
2d arrays
353
Set Array At Index
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
create
,
initialize
,
code writing
354
Set Array At Variable Index
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
create
,
initialize
,
code writing
355
Create Array of Values
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
create
,
initialize
,
code writing
356
Determining the Maximum Rating for Each Soda in The Survey
Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer...
PCEX
2d arrays
357
Determining the Average Rating for Each Soda in The Survey
Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer...
PCEX
2d arrays
358
Determining the Average Ratings of each Respondent and Average Ratings Given to Each Soda in the Survey
Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer...
PCEX
2d arrays
359
4-02_Arrays2D
Java BehaviorExample for demonstrating 4-02_Arrays2D
AnnEx
2d arrays
360
4-02_TicTacToe
Java BehaviorExample for demonstrating 4-02_TicTacToe
AnnEx
2d arrays
361
Enhanced For Loop Demo
Java BehaviorExample for demonstrating Enhanced For Loop Demo
AnnEx
2d arrays
,
arrays
362
For-Each 2
For-Each 2
AnnEx
2d arrays
,
arrays
363
For-Each
For-Each
AnnEx
2d arrays
,
arrays
364
For-each with break
For-each with break
AnnEx
2d arrays
,
arrays
365
Tic-Tac-Toe
Java BehaviorExample for demonstrating Tic-Tac-Toe
AnnEx
2d arrays
,
arrays
366
Using an Array2
Using an Array2
AnnEx
2d arrays
,
arrays
367
Using an Array1
Using an Array1
AnnEx
2d arrays
,
arrays
368
Enhanced For Loop Demo
Java CodeVisualization for demonstrating Enhanced For Loop Demo
JSVEE
2d arrays
,
arraylist
,
arrays
,
for loop
369
For-Each
Java CodeVisualization for demonstrating For-Each
JSVEE
2d arrays
,
arraylist
,
arrays
,
loops
370
For-each with break
Java CodeVisualization for demonstrating For-each with break
JSVEE
2d arrays
,
arraylist
,
arrays
,
loops
371
Using an Array2
Java CodeVisualization for demonstrating Using an Array2
JSVEE
2d arrays
,
arrays
372
Processing the Results of a Soda Survey
Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer...
PCEX
2d arrays
373
Processing Soda Survery (Case 2)
Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer...
PCEX
2d arrays
374
Processing Soda Survery (Case 3)
Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer...
PCEX
2d arrays
375
2D Arrays 1
Java PredictingFinalResult for demonstrating 2D Arrays 1
QuizJET
2d arrays
,
arrays
376
2D Arrays 2
Java PredictingFinalResult for demonstrating 2D Arrays 2
QuizJET
2d arrays
,
arrays
377
Problem 7
Java PredictingFinalResult for demonstrating Problem 7
QuizJET
2d arrays
,
arrays
378
2D Arrays 4
Java PredictingFinalResult for demonstrating 2D Arrays 4
QuizJET
2d arrays
,
arrays
379
Problem 5
Java PredictingFinalResult for demonstrating Problem 5
QuizJET
2d arrays
,
arrays
380
Problem 6
Java PredictingFinalResult for demonstrating Problem 6
QuizJET
2d arrays
,
arrays
381
Enhanced For Loop
Java PredictingFinalResult for demonstrating Enhanced For Loop
QuizJET
2d arrays
,
arrays
,
loops
382
BigO - ArrayList Time Complexity
Question
,
forced choice
Multiple Choice Question
CodeWorkout
big O
,
arraylist
,
data structures
,
forced choice
383
Given a two-dimensional array of integers, return the average of the four corner elements.
Code Completion
Given a two-dimensional array of integers, return the average of the four corner elements.
CodeCheck
Two-Dimensional Arrays
,
No Loops
384
Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even.
Code Completion
Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or...
CodeCheck
Two-Dimensional Arrays
,
No Loops
385
Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even.
Code Completion
Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border...
CodeCheck
Two-Dimensional Arrays
,
No Loops
386
Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements in the given compass direction.
Code Completion
Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements...
CodeCheck
Two-Dimensional Arrays
,
No Loops
387
Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor in that direction, or 0 if it doesn't exist.
Code Completion
Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor...
CodeCheck
Two-Dimensional Arrays
,
No Loops
388
Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself).
Code Completion
Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element...
CodeCheck
Two-Dimensional Arrays
,
No Loops
389
On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row.
Code Completion
On a chessboard, positions are marked with a letter between a and h for the column and a number between...
CodeCheck
Two-Dimensional Arrays
,
No Loops
390
Given a two-dimensional array of integers, return the number of distinct elements.
Code Completion
Given a two-dimensional array of integers, return the number of distinct elements.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
391
Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes.
Code Completion
Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
392
Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes.
Code Completion
Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
393
Given a two-dimensional array of integers, return the top left corner of the first subarray of the form <pre>0 0 0 0</pre>
Code Completion
Given a two-dimensional array of integers, return the top left corner of the first subarray of the form
0 0...
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
394
Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as a list of length 2.
Code Completion
Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as a list...
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
395
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W.
Code Completion
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
396
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W NE NW SE SW.
Code Completion
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
397
Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as a string N E S W NE NW SE SW.
Code Completion
Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
398
Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its neighbors in the compass directions N E S W NE NW SE SW with x.
Code Completion
Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
399
Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is a[r][c], and whose neighbors are copied from the original.
Code Completion
Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
400
Given a two-dimensional array of integers, compute the sum of all positive elements.
Code Completion
Given a two-dimensional array of integers, compute the sum of all positive elements.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
401
Given a two-dimensional array of integers, return the largest element in the array.
Code Completion
Given a two-dimensional array of integers, return the largest element in the array.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
402
Given a two-dimensional array of integers, return the position of the smallest element in the array as a list of length 2.
Code Completion
Given a two-dimensional array of integers, return the position of the smallest element in the array as a list of...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
403
Given a two-dimensional array of integers and a value x, return the position of the first match as a list of length 2.
Code Completion
Given a two-dimensional array of integers and a value x, return the position of the first match as a list...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
404
Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as a list of arrays of length 2.
Code Completion
Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as a list...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
405
Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders.
Code Completion
Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
406
Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the diagonals.
Code Completion
Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
407
Given a two-dimensional array of integers, replace all negative elements with zero.
Code Completion
Given a two-dimensional array of integers, replace all negative elements with zero.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
408
Given a two-dimensional array of integers, reverse all rows.
Code Completion
Given a two-dimensional array of integers, reverse all rows.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
409
Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the leftmost column.
Code Completion
Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
410
Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders are zero and whose interior is the original array.
Code Completion
Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
411
Given a two-dimensional array of integers, return a list of the largest element in each row.
Code Completion
Given a two-dimensional array of integers, return a list of the largest element in each row.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
412
Given a two-dimensional array of integers, return a list of the number of negative elements in each row.
Code Completion
Given a two-dimensional array of integers, return a list of the number of negative elements in each row.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
413
Given a two-dimensional array of integers and a row index, return the largest element in that row.
Code Completion
Given a two-dimensional array of integers and a row index, return the largest element in that row.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
414
Given a two-dimensional array of integers and a row index r, reverse the given row.
Code Completion
Given a two-dimensional array of integers and a row index r, reverse the given row.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
415
Given a two-dimensional square array of integers, reverse both diagonals.
Code Completion
Given a two-dimensional square array of integers, reverse both diagonals.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
416
Given a two-dimensional array of integers and a column index, return the smallest element in that column.
Code Completion
Given a two-dimensional array of integers and a column index, return the smallest element in that column.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
417
Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements in that row or column.
Code Completion
Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
418
Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all elements in the given row and column.
Code Completion
Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
419
Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of the border in the given compass direction.
Code Completion
Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
420
Given a two-dimensional array of integers, return the sum of all elements along the north and south border.
Code Completion
Given a two-dimensional array of integers, return the sum of all elements along the north and south border.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
421
Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners.
Code Completion
Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
422
Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners.
Code Completion
Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
423
Given a two-dimensional square array of integers, return the sum of the elements along both diagonals.
Code Completion
Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
424
Given an integer n, produce the array <pre>0 1 2 3 .
Code Completion
Given an integer n, produce the array
0 1 2 3 ... n 1 2 3 4 ... 0 ......
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
425
Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0.
Code Completion
Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0.
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
426
Repeat where the row lengths don't have to match.
Code Completion
Repeat where the row lengths don't have to match. Fill the shorter array with zeroes.
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
427
Given a two-dimensional array a, return a list whose [i][j] element is the average of the neighbors of a[i][j] in the N, E, S, W direction.
Code Completion
Given a two-dimensional array a, return a list whose [i][j] element is the average of the neighbors of a[i][j] in...
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
428
Given a two-dimensional array of integers and a value x, return the position of the first match as an array of length 2.
Code Completion
Given a two-dimensional array of integers and a value x, return the position of the first match as an array...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
429
Given a two-dimensional array of integers, return an array of the number of negative elements in each column.
Code Completion
Given a two-dimensional array of integers, return an array of the number of negative elements in each column.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
430
Given a two-dimensional array of integers, compute the sum of all positive elements.
Code Completion
Given a two-dimensional array of integers, compute the sum of all positive elements.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
431
Given a two-dimensional array of integers, return the position of the smallest element in the array as an array of length 2.
Code Completion
Given a two-dimensional array of integers, return the position of the smallest element in the array as an array of...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
432
Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the diagonals.
Code Completion
Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
433
Given a two-dimensional array of integers, replace all negative elements with zero.
Code Completion
Given a two-dimensional array of integers, replace all negative elements with zero.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
434
Given a two-dimensional array of integers, reverse all rows.
Code Completion
Given a two-dimensional array of integers, reverse all rows.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
435
Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as an array of arrays of length 2.
Code Completion
Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as an array...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
436
Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the leftmost column.
Code Completion
Given a two-dimensional array of integers, shift each row by one to the right and put a 0 at the...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
437
Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders.
Code Completion
Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
438
Given a two-dimensional array of integers, return the largest element in the array.
Code Completion
Given a two-dimensional array of integers, return the largest element in the array.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
439
Given a two-dimensional array of integers, return an array of the largest element in each row.
Code Completion
Given a two-dimensional array of integers, return an array of the largest element in each row.
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
440
Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders are zero and whose interior is the original array.
Code Completion
Given an r x c array of integers, return an (r + 2) x (c + 2) array whose borders...
CodeCheck
Two-Dimensional Arrays
,
Looping Over the Entire Array
441
Given a two-dimensional array of integers, return the number of distinct elements.
Code Completion
Given a two-dimensional array of integers, return the number of distinct elements.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
442
Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes.
Code Completion
Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
443
Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes.
Code Completion
Given a two-dimensional array of integers, return the index of the first row that is entirely filled with zeroes. <
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
444
Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as an array of length 2.
Code Completion
Given a two-dimensional array of integers, return the position of the largest square subarray filled with zeroes, as an array...
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
445
Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes.
Code Completion
Given a two-dimensional array of integers, remove any adjacent duplicate rows by filling the duplicates with zeroes.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
446
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W.
Code Completion
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
447
Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as a string N E S W NE NW SE SW.
Code Completion
Given a two-dimensional array of integers and row/column positions r, c, return the compass direction of the largest neighbor as...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
448
Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its neighbors in the compass directions N E S W NE NW SE SW with x.
Code Completion
Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
449
Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is a[r][c], and whose neighbors are copied from the original.
Code Completion
Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
450
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N E S W NE NW SE SW.
Code Completion
Given a two-dimensional array of integers and row/column positions r, c, return the largest neighbor in the compass directions N...
CodeCheck
Two-Dimensional Arrays
,
Looping over Neighbors
451
Given an integer n, produce the array <pre>0 1 2 3 .
Code Completion
Given an integer n, produce the array
0 1 2 3 ... n 1 2 3 4 ... 0 ......
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
452
Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0.
Code Completion
Repeat the preceding exercise where the array dimensions need not match, filling positions that exist in neither array with 0.
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
453
Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they do not match, as an array of length 2.
Code Completion
Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they...
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
454
Given two two-dimensional arrays with the same number of rows, return an array that places them side by side.
Code Completion
Given two two-dimensional arrays with the same number of rows, return an array that places them side by side.
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
455
Repeat where the row lengths don't have to match.
Code Completion
Repeat where the row lengths don't have to match. Fill the shorter array with zeroes.
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
456
Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return an array of the same size where each element is the greater of the corresponding elements in the two arrays.
Code Completion
Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return an array...
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
457
Given a two-dimensional array a, return an array whose [i][j] element is the average of the neighbors of a[i][j] in the N, E, S, W direction.
Code Completion
Given a two-dimensional array a, return an array whose [i][j] element is the average of the neighbors of a[i][j] in...
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
458
Given a two-dimensional square array of integers, return the sum of the elements along both diagonals.
Code Completion
Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
459
Given a two-dimensional array of integers and a row index, return the largest element in that row.
Code Completion
Given a two-dimensional array of integers and a row index, return the largest element in that row.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
460
Given a two-dimensional square array of integers, reverse both diagonals.
Code Completion
Given a two-dimensional square array of integers, reverse both diagonals.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
461
Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements in that row or column.
Code Completion
Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
462
Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all elements in the given row and column.
Code Completion
Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
463
Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of the border in the given compass direction.
Code Completion
Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of...
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
464
Given a two-dimensional array of integers, return the sum of all elements along the north and south border.
Code Completion
Given a two-dimensional array of integers, return the sum of all elements along the north and south border.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
465
Given a two-dimensional array of integers and a column index, return the smallest element in that column.
Code Completion
Given a two-dimensional array of integers and a column index, return the smallest element in that column.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
466
Given a two-dimensional array of integers and a row index r, reverse the given row.
Code Completion
Given a two-dimensional array of integers and a row index r, reverse the given row.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
467
Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners.
Code Completion
Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
468
Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners.
Code Completion
Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners.
CodeCheck
Two-Dimensional Arrays
,
Loops Along a Row or Column
469
Given a two-dimensional array of integers, return the average of the four corner elements.
Code Completion
Given a two-dimensional array of integers, return the average of the four corner elements.
CodeCheck
Two-Dimensional Arrays
,
No Loops
470
Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even.
Code Completion
Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border...
CodeCheck
Two-Dimensional Arrays
,
No Loops
471
Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements in the given compass direction.
Code Completion
Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements...
CodeCheck
Two-Dimensional Arrays
,
No Loops
472
Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor in that direction, or 0 if it doesn't exist.
Code Completion
Given a two-dimensional array of integers, row/column indexes r, c, and a string N E S W, return the neighbor...
CodeCheck
Two-Dimensional Arrays
,
No Loops
473
Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even.
Code Completion
Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or...
CodeCheck
Two-Dimensional Arrays
,
No Loops
474
On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row.
Code Completion
On a chessboard, positions are marked with a letter between a and h for the column and a number between...
CodeCheck
Two-Dimensional Arrays
,
No Loops
475
Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element itself).
Code Completion
Given a two-dimensional array of integers and row/column indexes r, c, return the number of neighbors (not counting the element...
CodeCheck
Two-Dimensional Arrays
,
No Loops
476
Make Perfect Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
review
,
array
,
int
,
code writing
477
Create an array and initialize
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
int
,
array
,
cci
,
coding problem
478
Creating an Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
create
,
code writing
479
Creating an Array of Variable Size
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
variable
,
parameter
,
create
,
code writing
480
Creating a 2D Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
code writing
481
Setting Value in 2D Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
set
,
code writing
482
Make Variable Sized Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
set
,
code writing
483
Debugging 2D Array Loops
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
debug
,
code writing
484
Initialize 2D Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
initialize
,
for
,
loop
,
code writing
485
Initialize 3D Array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
code writing
486
2D Generic Array Contains
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
generic
,
code writing
487
Linear Search in Ordered Array
Free Coding Problem
Coding Question
CodeWorkout
linear search
,
search
,
array
,
int
,
cci
488
Repeat with NW NE SW SE.
Code Completion
Repeat with NW NE SW SE.
CodeCheck
Two-Dimensional Arrays
,
No Loops
489
Repeat the previous exercise with subarrays that are not necessarily square.
Code Completion
Repeat the previous exercise with subarrays that are not necessarily square.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
490
Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return a list of the same size where each element is the greater of the corresponding elements in the two arrays.
Code Completion
Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return a list...
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
491
Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they do not match, as a list of length 2.
Code Completion
Given two two-dimensional arrays of integers with the same number of rows and columns, return the first position where they...
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
492
Given two two-dimensional arrays with the same number of rows, return a list that places them side by side.
Code Completion
Given two two-dimensional arrays with the same number of rows, return a list that places them side by side.
CodeCheck
Two-Dimensional Arrays
,
Producing 2D Arrays
493
Repeat the previous exercise with subarrays that are not necessarily square.
Code Completion
Repeat the previous exercise with subarrays that are not necessarily square.
CodeCheck
Two-Dimensional Arrays
,
Complex Loops
494
Repeat with NW NE SW SE.
Code Completion
Repeat with NW NE SW SE.
CodeCheck
Two-Dimensional Arrays
,
No Loops
495
List Implementation Overhead Exercise
Calculation Exercise
,
Battery
User provides overhead computations for specified implementations.
OpenDSA
Linked List
,
Array-Based List
,
Overhead
,
List Implementation Comparison
496
Review - Count Fours
Free Coding Problem
Coding Question
CodeWorkout
review
,
array
,
looping
,
if
497
BigO - Cross Road BigO
Question
,
forced choice
Multiple Choice Question
CodeWorkout
big O
,
array
,
for loop
,
forced choice
498
BigO - Doubled Value BigO
Question
,
forced choice
Multiple Choice Question
CodeWorkout
big O
,
array
,
for loop
,
forced choice
499
Sorting - Fix Selection Sort
Free Coding Problem
Coding Question
CodeWorkout
sorting
,
array
,
int
,
selection sort
500
Review - Plus Two
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
review
,
array
,
int
,
code writing
501
Review - Sum 67
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
review
,
array
,
int
,
sum
,
code writing
502
Review - Sum Three
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
review
,
array
,
int
,
code writing
503
Review - Without Ten
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
review
,
array
,
int
,
code writing
504
Largest integer
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
cci
,
array
,
coding problem
505
First Integer Larger Than
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
int
,
array
,
cci
,
coding problem
506
Nth Integer Larger Than
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
int
,
array
,
cci
,
coding problem
507
Odd Values
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
int
,
array
,
cci
,
coding problem
508
Increase By One
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
create
,
initialize
,
for
,
loop
,
for-loop
,
code writing
509
Debug indexOf
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
debug
,
index
,
of
,
for
,
loop
,
for-loop
,
code writing
510
Debug toString
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
code writing
511
make10to20
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
code writing
512
Every Other Index
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
boolean
,
index
,
code writing
513
Set Last Element
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
set
,
code writing
514
Initialize Index 0
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
code writing
515
is Even
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
code writing
516
Change Even Indices
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
code writing
517
Change Even Rows
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
mod
,
code writing
518
Matrix Multiplication
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
matrix
,
code writing
519
Inches to Feet
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
mod
,
code writing
520
Find *
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
array
,
Java
,
multi
,
dimensional
,
code writing
521
Build book list
Free Coding Problem
Coding Question
CodeWorkout
coding
,
arraylist
522
Sum all integer
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
int
,
arrays
,
cci
,
coding problem
523
Average numbers
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
double
,
arrays
,
cci
,
coding problem
524
For-Each Loops 1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
525
For-Each Loops 2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
526
For-Each Loops 3
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
527
For-Each Loops 7
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
528
For-Each Loops 6
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
529
For-Each Loops 4
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
530
For-Each Loops 5
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
531
For-Each Loops 8
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
532
For-Each Loops 9
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
533
For-Each Loops 10
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
Data Structure
,
loop
,
iteration
,
for each
,
for-each
,
code writing
534
Object Oriented Design 1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
String
,
code writing
535
For Loops Hopping Many Times
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
String
,
code writing
536
Object Oriented Design 2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
String
,
code writing
537
Object Oriented Design 3
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
String
,
code writing
538
Writing a toString Method
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
String
,
code writing
539
Count 'a's in String
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
String
,
for
,
loop
,
code writing
540
Concatenating Strings 1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
String
,
code writing
541
Creating a List
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
code writing
542
Adding to a List
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Data Structure
,
code writing
543
Conditionally Adding to a List
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
List
,
code writing
544
Reverse a List
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
List
,
loop
,
code writing
545
Picture everyOtherRowBlack
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
code writing
546
Change Even Pixels
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
code writing
547
Loop Idioms - Repeating an Action
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
loop
,
idiom
,
counter
,
controlled
,
code writing
548
Loop Idioms - Find First Book
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
loop
,
idiom
,
counter
,
controlled
,
code writing
549
Loop Idioms - Find Last Book
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
loop
,
idiom
,
counter
,
controlled
,
code writing
550
Loop Idioms - Find First And Last Index
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
loop
,
idiom
,
counter
,
controlled
,
code writing
551
Find Second Index
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
loop
,
for
,
code writing
552
Contains Two
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
CS1114
,
arraylist
,
Java
,
loop
,
for
,
code writing
553
LotteryTicket constructor
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
constructor
,
arrays
,
code writing
554
Binary Search (non-recursive)
Free Coding Problem
Coding Question
CodeWorkout
binary search
,
search
,
array
,
int
555
Sorting - Create Bubble Sort
Free Coding Problem
Coding Question
CodeWorkout
bubble sort
,
sorting
,
array
,
int
556
Exception Handling - finally
Free Coding Problem
Coding Question
CodeWorkout
Exception Handling
,
finally
,
array
557
Exception Handling - Multiple Catches
Free Coding Problem
Coding Question
CodeWorkout
Exception Handling
,
String
,
array
558
Review - Same Ends
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
review
,
int
,
array
,
boolean
,
code writing
559
Binary Search (int)
Free Coding Problem
Coding Question
CodeWorkout
binary search
,
search
,
array
,
int
,
cci
560
Linear Search Return Index
Free Coding Problem
Coding Question
CodeWorkout
linear search
,
search
,
array
,
int
,
cci
561
Contains (with linear search)
Free Coding Problem
Coding Question
CodeWorkout
linear search
,
search
,
array
,
int
,
cci
562
Linear Search (Strings) Return Index
Free Coding Problem
Coding Question
CodeWorkout
linear search
,
search
,
array
,
String
,
cci
563
Linear Search (Strings) Return Object
Free Coding Problem
Coding Question
CodeWorkout
linear search
,
search
,
array
,
String
,
cci
564
Binary Search Char (non-recursive)
Free Coding Problem
Coding Question
CodeWorkout
binary search
,
search
,
array
,
char
,
cci
565
Recursion - Recursive Binary Search
Free Coding Problem
Coding Question
CodeWorkout
recursion
,
binary search
,
ArrayLists
566
While Loop Exercise 5
Question
,
multiple choice
,
single answer
Multiple Choice Question
CodeWorkout
loops
,
while-loops
,
arrays
,
multiple choice
,
single answer
567
Count Times
Free Coding Problem
,
coding problem
Coding Question
CodeWorkout
String
,
loops
,
arrays
,
cci
,
coding problem
568
Graphs - Graph Density
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
graph
,
matrix
,
vertex
,
2D array
,
edge
,
density
,
code writing
569
Review - Head Count
Question
,
forced choice
Multiple Choice Question
CodeWorkout
review
,
logic errors
,
if
,
conditional
,
for loop
,
for each loop
,
array
,
continue
,
forced choice
570
countEvens
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
arrays
,
loops
,
mod
,
code writing
571
sum67
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
572
isEverywhere
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
573
withoutTen
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
574
sum13
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
575
modThree
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
mod
,
code writing
576
tenRun
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
mod
,
code writing
577
zeroMax
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
578
pre4
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
579
sameEnds
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if loops
,
arrays
,
code writing
580
countClumps
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
581
fix45
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
logic
,
conditionals
,
if
,
loops
,
arrays
,
code writing
582
Array of Char
C++ BehaviorExample for demonstrating Array of Char
AnnEx
583
ArrayAddresses
C++ BehaviorExample for demonstrating ArrayAddresses
AnnEx
584
ArrayPointers
C++ BehaviorExample for demonstrating ArrayPointers
AnnEx
585
ArraysSubscript
C++ BehaviorExample for demonstrating ArraysSubscript
AnnEx
586
ArrayQueueBadEnqueue1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
methods
,
logic
,
CS2114
,
code writing
587
ArrayQueueBadEnqueue2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
methods
,
logic
,
CS2114
,
code writing
588
ArrayQueueManipulate1
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
methods
,
logic
,
CS2114
,
code writing
589
ArrayQueueManipulate2
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
methods
,
logic
,
CS2114
,
code writing
590
DEPRECATED_Array Declaration
Java BehaviorExample for demonstrating DEPRECATED_Array Declaration
AnnEx
591
HKC array testing 1
testing authoring tool and course authoring
AnnEx
592
Static Arrays
C++ BehaviorExample for demonstrating Static Arrays
AnnEx
593
Using Arrays
C++ BehaviorExample for demonstrating Using Arrays
AnnEx
594
DEPRECATED_ArrayList Demo
Java BehaviorExample for demonstrating DEPRECATED_ArrayList Demo
AnnEx
595
IS17_ArrayList1
Java BehaviorExample for demonstrating IS17_ArrayList1
AnnEx
596
IS17_ArrayList1_1
Java BehaviorExample for demonstrating IS17_ArrayList1_1
AnnEx
597
IS17_ArrayList1_2
Java BehaviorExample for demonstrating IS17_ArrayList1_2
AnnEx
598
IS17_ArrayList1_3
Java BehaviorExample for demonstrating IS17_ArrayList1_3
AnnEx
599
IS17_ArrayList1_4
Java BehaviorExample for demonstrating IS17_ArrayList1_4
AnnEx
600
IS17_ArrayList1_5
Java BehaviorExample for demonstrating IS17_ArrayList1_5
AnnEx
601
IS17_ArrayList1_6
Java BehaviorExample for demonstrating IS17_ArrayList1_6
AnnEx
602
IS17_ArrayList1_7
Java BehaviorExample for demonstrating IS17_ArrayList1_7
AnnEx
603
IS17_ArrayList2
Java BehaviorExample for demonstrating IS17_ArrayList2
AnnEx
604
IS17_ArrayList2_1
Java BehaviorExample for demonstrating IS17_ArrayList2_1
AnnEx
605
IS17_ArrayList2_2
Java BehaviorExample for demonstrating IS17_ArrayList2_2
AnnEx
606
IS17_ArrayList2_3
Java BehaviorExample for demonstrating IS17_ArrayList2_3
AnnEx
607
IS17_ArrayList2_4
Java BehaviorExample for demonstrating IS17_ArrayList2_4
AnnEx
608
IS17_ArrayList2_5
Java BehaviorExample for demonstrating IS17_ArrayList2_5
AnnEx
609
IS17_ArrayList2_6
Java BehaviorExample for demonstrating IS17_ArrayList2_6
AnnEx
610
IS17_ArrayList2_7
Java BehaviorExample for demonstrating IS17_ArrayList2_7
AnnEx
611
IS17_ArrayList3
Java BehaviorExample for demonstrating IS17_ArrayList3
AnnEx
612
IS17_ArrayList3_1
Java BehaviorExample for demonstrating IS17_ArrayList3_1
AnnEx
613
IS17_ArrayList3_2
Java BehaviorExample for demonstrating IS17_ArrayList3_2
AnnEx
614
IS17_ArrayList3_3
Java BehaviorExample for demonstrating IS17_ArrayList3_3
AnnEx
615
IS17_ArrayList3_4
Java BehaviorExample for demonstrating IS17_ArrayList3_4
AnnEx
616
IS17_ArrayList3_5
Java BehaviorExample for demonstrating IS17_ArrayList3_5
AnnEx
617
IS17_ArrayList3_6
Java BehaviorExample for demonstrating IS17_ArrayList3_6
AnnEx
618
IS17_ArrayList3_7
Java BehaviorExample for demonstrating IS17_ArrayList3_7
AnnEx
619
IS17_ArrayList3_8
Java BehaviorExample for demonstrating IS17_ArrayList3_8
AnnEx
620
IS12:: arrayio.c (119.1)
C BehaviorExample for demonstrating IS12:: arrayio.c (119.1)
WebEx
621
IS12:: arrayiofor.c (119.2)
C BehaviorExample for demonstrating IS12:: arrayiofor.c (119.2)
WebEx
622
IS12:: arraymax.c (9.2)
C BehaviorExample for demonstrating IS12:: arraymax.c (9.2)
WebEx
623
IS12:: arraymin.c (9.3)
C BehaviorExample for demonstrating IS12:: arraymin.c (9.3)
WebEx
624
IS12:: arraysum.c (9.1)
C BehaviorExample for demonstrating IS12:: arraysum.c (9.1)
WebEx
625
c_min_array
Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najmanji element u nizu.
PCEX
626
c_max_array
Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najveći element u nizu.
PCEX
627
DEPRECATED_Create 2D Array
Java BehaviorExample for demonstrating DEPRECATED_Create 2D Array
AnnEx
628
DEPRECATED_Use 2D Array
Java BehaviorExample for demonstrating DEPRECATED_Use 2D Array
AnnEx
629
Radix Sort Visualization: Array Implementation
Algorithm Visualization
,
User Supplied Data
Algorithm Visualization for Radix Sort, implemented using arrays. User can select data for the visualization.
OpenDSA
Radix Sort
630
q_java_Array 6
Java PredictingFinalResult for demonstrating q_java_Array 6
QuizJET
631
Reverse toString for array
Code Completion
Complete the static toStringInReverse method in the MyMethods class so that it formats an array of int values in reverse...
CodeCheck
Recursion
632
Recursive toString for array
Code Completion
Complete the static mkString method in the MyMethods class so that it formats an array of int values, with the...
CodeCheck
Recursion
633
Reading a serialized array of objects
Code Completion
Your task is to read a serialized array of objects. You are given a FileInputStream, and you need to read...
CodeCheck
Advanced Input and Output
634
Generic matrix class as array of arrays
Code Completion
Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements....
CodeCheck
Generic Types
635
Using 2D Arrays
C++ BehaviorExample for demonstrating Using 2D Arrays
AnnEx
636
One Dim Arrays
C++ BehaviorExample for demonstrating One Dim Arrays
AnnEx
637
DEPRECATED_Create ArrayList
Java BehaviorExample for demonstrating DEPRECATED_Create ArrayList
AnnEx
638
DEPRECATED_Using an Array2
Java BehaviorExample for demonstrating DEPRECATED_Using an Array2
AnnEx
639
DEPRECATED_Using an Array1
Java BehaviorExample for demonstrating DEPRECATED_Using an Array1
AnnEx
640
q_py_2d_arrays1_es
Python PredictingFinalResult for demonstrating q_py_2d_arrays1_es
QuizPET
2d list
641
q_py_2d_arrays2_es
Python PredictingFinalResult for demonstrating q_py_2d_arrays2_es
QuizPET
2d list
642
q_py_2d_arrays3_es
Python PredictingFinalResult for demonstrating q_py_2d_arrays3_es
QuizPET
2d list
643
q_py_2d_arrays4_es
Python PredictingFinalResult for demonstrating q_py_2d_arrays4_es
QuizPET
2d list
644
q_java_ArrayList 6
Java PredictingFinalResult for demonstrating q_java_ArrayList 6
QuizJET
645
Construct a function that sorts a numeric array using Merge Sort.
Construct a merge function that recursively splits a numeric array and takes a list as a parameter called data.
Consider that...
jsParsons
recursion
,
search algorithms
,
sorting
,
sorting algorithms
646
Swap values by using an array
Code Completion
A Java method cannot update primitive type parameters. For example, the following method does not work as intended:
CodeCheck
Designing Classes
647
Generic matrix class as linear array
Code Completion
Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements....
CodeCheck
Generic Types
648
Generic method for filling an array
Code Completion
The class below has a static method which sets all elements of an array to a value. The method is...
CodeCheck
Generic Types
649
Recursion Programming Exercises: Minimum of array
Free Coding Problem
,
code writing
Coding Question
CodeWorkout
recursion
,
code writing
650
(Sorting) Bubble sort - CSEdPad
Sort a given unsorted array using bubble sort in ascending order
AnnEx
sorting algorithms
651
Map words to their lengths
Code Completion
Given an array of strings, create a tree map with each string as a key and its corresponding value the...
CodeCheck
Tree Structures
652
Map word lengths to words
Code Completion
Given an array of strings, create a tree map whose keys are the string lengths and whose values are the...
CodeCheck
Tree Structures
653
Binary Search - 1
Construct a function that receives an array and a target element to be searched in the given array. If the...
PCEX
654
Binary Search - 1
Construct a function that receives an array and a target element to be searched in the given array. If the...
PCEX
655
Binary search
Binary Search operates by dividing an array in half, and then determining whether or not the target value would be...
PCEX
binary search
,
recursion
,
search
,
search algorithms
,
sorting
,
trees
656
Binary search Challenge
Binary Search operates by dividing an array in half, and then determining whether or not the target value would be...
PCEX
search algorithms
657
A slow sorting algorithm with two threads
Code Completion
Consider the following algorithm to sort an array of strings and remove duplicates, using two threads.
CodeCheck
Concurrency
658
Sort real data
Code Completion
Your task is to sort an array list of path names such as
CodeCheck
Sorting and Searching
659
Unique words in two string sets
Code Completion
Implement a method that receives two arrays of strings and determines which words are unique to each.
CodeCheck
Tree Structures
660
Binary Search Proficency Exercise
Tracing Exercise
Interactive exercise where users indicate which elements of the array should be searched to reproduce the binary search algorithm's behavior.
OpenDSA
Binary Search
661
Count Inversions Proficiency Exercise
Calculation Exercise
Proficiency exercise to count the number of inversions in an array.
OpenDSA
Exchange Sort
,
Inversion
662
Mergsort Implementation Slideshow: Final Pass
Algorithm Visualization
Slideshow showing the details of implementing Mergesort using an array. This is the first of a two-part series, showing the...
OpenDSA
Mergesort
663
Mergsort Implementation Slideshow: Optimized Final Pass
Algorithm Visualization
Slideshow showing the details of implementing Mergesort using an array. This is the second of a two-part series, showing an...
OpenDSA
Mergesort
664
Selection sort modification placing even before odd
Code Completion
Implement a modification of the SelectionSorter class that reorders the array to have even elements followed by odd ones. Follow...
CodeCheck
Sorting and Searching
665
Selection sort
Ascending-order Selection sort operates by finding the minimum element of an array and moving it to the “beginning” of the...
PCEX
recursion
,
search algorithms
,
sorting
,
sorting algorithms
666
Selection sort Challenge
Descending-order Selection sort operates by finding the maximum element of an array and moving it to the “beginning” of the...
PCEX
667
Shellsort Proficiency Exercise
Tracing Exercise
Interactive proficiency exercise for Shellsort. User clicks on array cells to indicate the behavior of Shellsort.
OpenDSA
Shellsort
668
Complete Binary Tree Calculation Questions
Calculation Exercise
,
Battery
Self-practice questions requiring user to calcuate node positions and values in an array representation for a complete binary tree.
OpenDSA
Linked List
669
Shellsort Proficiency Exercises
Tracing Exercise
Shellsort proficiency exercises. User clicks on array cells to reproduce the behavior of Shellsort.
OpenDSA
Shellsort
670
Introduction to Hashing Slideshow
Algorithm Visualization
Slideshow showing the simplest of hashing approaches: Just put a key into that array position.
OpenDSA
Hashing
671
Using conditions for completion count
Code Completion
We will divide the work of computing the maximum of all values in an array over multiple threads. Each thread...
CodeCheck
Concurrency
672
Synchronizing multiple summation threads
Code Completion
We will divide the work of computing the sum of all values in an array over multiple threads. Each thread...
CodeCheck
Concurrency
673
Launching multiple summation threads and using yield
Code Completion
We will divide the work of computing the sum of all values in an array over multiple threads. Each thread...
CodeCheck
Concurrency
674
Multiway Merge Proficiency Exercise
Tracing Exercise
Interactive algorithm proficiency exercise for multiway merge. User clicks on positions in the array to reproduce the behavior of multiway...
OpenDSA
File Processing
,
External Sorting
,
Multiway Merge
675
Linear Indexing Proficiency Exercise
Tracing Exercise
Interactive proficiency exercise for linear indexing. User clicks on array elements to indicate how the search process progresses from through...
OpenDSA
Linear Indexing
676
Heapsort Profiency Exercise
Tracing Exercise
Heapsort proficiency exercise. User must show all of the steps for updating the array during Heapsort.
OpenDSA
Heapsort
677
Insertion Sort Optimized with Shifting Proficiency Exercise
Tracing Exercise
Interactive algorithm proficiency exercise for optimized Insertion Sort. User clicks on array elements to reproduce the behavior of Insertion Sort...
OpenDSA
Insertion Sort
,
Code Tuning
678
Mergesort Profiency Exercise
Tracing Exercise
Mergesort proficiency exercise. User must show all of the merge steps for all values in the array.
OpenDSA
Mergesort
679
Quicksort Proficiency Exercise
Tracing Exercise
Proficiency exercise for Quicksort. User must show the complete sequence of steps for sorting an array.
OpenDSA
Quicksort
680
Bubble Sort Proficiency Exercise
Tracing Exercise
Bubble Sort interactive proficiency exercise. Users click on values in an array to move them around as Bubble Sort would.
OpenDSA
Bubble Sort
681
Heapsort Remove Max Proficiency Exercise
Tracing Exercise
Proficiency exercise for Heapsort. User must indicate how the array is updated when removing the maximum value during Heapsort.
OpenDSA
Heapsort
682
Insertion Sort proficiency exercise
Tracing Exercise
Insertion Sort interactive proficiency exercise. Users click on values in an array to move them around as Insertion Sort would.
OpenDSA
Insertion Sort
683
Quicksort Pivot Proficiency Exercise
Tracing Exercise
Proficiency exercise for the Quicksort pivot. User must indicate which value in the array is used as the pivot.
OpenDSA
Quicksort
684
Selection Sort Sort Proficiency Exercise
Tracing Exercise
Selection Sort interactive proficiency exercise. Users click on values in an array to move them around as Selection Sort would.
OpenDSA
Selection Sort
685
JLinkedListUtil
This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will...
PCEX
686
JLinkedListUtil Challenge
This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will...
PCEX
687
Count visits in selection sort
Code Completion
In section 14.5, we approximated a count of the array visits in merge sort. Your task is to provide an...
CodeCheck
Sorting and Searching
688
Count visits in selection sort
Code Completion
In section 14.3, we approximated a count of the array visits in selection sort. Your task is to provide an...
CodeCheck
Sorting and Searching
689
Merge sort modification placing even before odd
Code Completion
Modify the merge sort algorithm so that, instead of sorting an array, it rearranges places all even elements before the...
CodeCheck
Sorting and Searching
690
(Searching) Binary search - CSEdPad
This program uses binary search algorithm to search the index, where "index will be the rank of prizes you get...
AnnEx
search algorithms
691
Insertion Sort
Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through...
PCEX
recursion
,
search algorithms
,
sorting
,
sorting algorithms
692
Insertion Sort Challenge
Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through...
PCEX
693
Bucket Hashing Proficiency Exercise
Tracing Exercise
User must give the result from a series of inserts using bucket hashing. The user clicks on an array to...
OpenDSA
Bucket Hashing
694
Linear Probing Proficiency Exercise
Tracing Exercise
User must give the result from a series of inserts using linear probing collision resolution. The user clicks on an...
OpenDSA
Linear Probing
695
Megesort Merging Proficiency Exercise
Tracing Exercise
Proficiency exercise for the Mergesort merge step. User must indicate what values are merged into the results array.
OpenDSA
Mergesort
696
Radix Sort Profiency Exercise
Tracing Exercise
Proficiency exercise for a pass of the Radix Sort algorithm. User must indicate how values in one array are moved...
OpenDSA
Quicksort
697
An enum type describing chemical elements
Code Completion
Enumerated types in Java are quite powerful, in that they can contain methods and instance variables. An enum type class...
CodeCheck
Inheritance
698
Selection sort modification placing only min and max
Code Completion
Your task is to modify the selection sort algorithm so that you find the largest element and swap it to...
CodeCheck
Sorting and Searching
699
Alternate Form Bucket Hashing Proficiency Exercise
Tracing Exercise
User must give the result from a series of inserts using bucket hashing. This version uses a variation on bucket...
OpenDSA
Bucket Hashing
700
Finding Adjacent Numbers in Ascending Order in a Sequence of Numbers
Construct a program that checks whether a sequence of non-zero numbers, entered one at a time, contains adjacent numbers in...
PCEX
while loop
701
Finding Adjacent Numbers in Ascending Order in a Sequence of Numbers
Construct a program that checks whether a sequence of non-zero numbers, entered one at a time, contains adjacent numbers in...
PCEX
while loop
702
Comparing Adjacent Numbers in a Sequence of Numbers (Case 3)
Construct a program that checks whether a sequence of non-zero numbers, entered one at a time, contains adjacent numbers in...
PCEX
while loop
703
Generic matrix class as a map with integer keys
Code Completion
Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements....
CodeCheck
Generic Types
704
Generic matrix class as a map with integer pair keys
Code Completion
Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements....
CodeCheck
Generic Types
×
This is a detailed description.