Showing 0-0 of 0 results
# 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 Array Declaration Array Declaration AnnEx 2d arrays, arrays
5 Array Demo Java CodeVisualization for demonstrating Array Demo JSVEE 2d arrays, arrays
6 Iterating with Arrays Review Questions Question, Battery CS1-level iterating over arrays review questions. OpenDSA Array, For-Each Loop
7 Arrays Module Review Questions Question, Battery CS1-level introduction to arrays module review questions. OpenDSA Array, For-Each Loop
8 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
9 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
10 Array-Based List Review Questions Question, Battery Array-based list battery of self-assessment questions. OpenDSA Array-Based List
11 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
12 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
13 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
14 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
15 Recursive Operations in a Binary Tree Presentation Slideshow discussing recursive operations on a binary tree. OpenDSA Array-Based Stack
16 Array-based List Append Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating the array-based list append operation. OpenDSA Array-Based List
17 Array-based List Insertion Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating array-based list insertion. OpenDSA Array-Based List
18 Array-based List Introduction Slideshow Presentation Slideshow presenting the array-based list implementation. OpenDSA Array-Based List
19 Array-based List Remove Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating array-based list remove. OpenDSA Array-Based List
20 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
21 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
22 Circular Array-Based Queue Design Slideshow: Concepts Algorithm Visualization Slideshow presenting the concept of a circular array-based queue. OpenDSA Array-Based Queue
23 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
24 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
25 Array-Based Queue Positions Slideshow Algorithm Visualization Slideshow presenting an initial design for storing a queue in an array. OpenDSA Array-Based Queue
26 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
27 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
28 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
29 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
30 Array-Based Stack Data Members Slideshow Code Tracing Presentation Slideshow presenting the data members for an array-based stack implementation. OpenDSA Array-Based Stack
31 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
32 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
33 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
34 Modifying an Array (Case 1) Construct a program that increments all elements of the array by 1. PCEX arrays
35 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
36 Creating an Array of Odd Numbers Construct a program that creates an array of first ten positive odd numbers. PCEX arrays
37 Creating an Array of User Inputs Construct a program that creates an array of eight string values received from the user. PCEX arrays
38 Finding the Maximum Value in an Array Write a program that finds the maximum value in an array. PCEX arrays
39 Finding the Minimum Value in an Array Write a program that finds the minimum value in an array. PCEX arrays
40 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
41 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
42 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
43 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
44 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
45 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
46 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
47 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
48 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
49 Modifying an Array Construct a program that increments all elements of the array by 1. PCEX arrays
50 Creating an Array of Numbers/Strings Construct a program that creates an array of first ten positive odd numbers. PCEX arrays
51 Finding the Max/Min Value in an Array Write a program that finds the maximum value in an array. PCEX arrays
52 Calculating Sum/Average of the Array Values Construct a program that computes the sum of all the values in an array. PCEX arrays
53 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
54 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
55 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
56 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
57 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
58 Creating an Array of User Inputs Construct a program that creates an array of eight string values received from the user. PCEX arrays
59 Finding the Minimum Value in an Array Write a program that finds the minimum value in an array. PCEX arrays
60 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
61 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
62 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
63 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
64 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
65 Loop Array Java PredictingFinalResult for demonstrating Loop Array QuizJET arrays
66 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
67 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
68 Run lengths Code Completion A run is a sequence of adjacent repeated values. For example, the array with elements CodeCheck Arrays and Array Lists
69 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
70 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
71 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
72 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
73 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
74 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
75 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
76 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
77 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
78 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
79 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
80 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
81 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
82 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
83 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
84 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
85 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
86 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
87 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
88 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
89 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
90 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
91 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
92 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
93 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
94 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
95 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
96 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
97 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
98 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
99 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
100 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
101 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
102 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
103 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
104 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
105 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
106 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
107 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
108 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
109 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
110 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
111 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
112 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
113 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
114 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
115 Given an array of integers and an integer n, remove all elementts &gt; n or &lt; -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
116 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
117 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
118 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
119 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
120 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
121 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
122 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
123 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
124 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
125 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
126 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
127 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
128 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
129 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
130 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
131 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
132 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
133 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
134 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
135 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
136 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
137 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
138 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
139 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
140 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
141 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
142 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
143 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
144 3-19_ArrayDemos Java BehaviorExample for demonstrating 3-19_ArrayDemos AnnEx arrays
145 3-19_ShowBackwards Java BehaviorExample for demonstrating 3-19_ShowBackwards AnnEx arrays
146 Create ArrayList Create ArrayList AnnEx arraylist
147 ArrayList Demo ArrayList Demo AnnEx arraylist
148 ArrayList Tester Java BehaviorExample for demonstrating ArrayList Tester AnnEx arraylist
149 Bank Java BehaviorExample for demonstrating Bank AnnEx arraylist
150 (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
151 (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
152 Grade Book Java BehaviorExample for demonstrating Grade Book AnnEx arraylist
153 For-Each with ArrayList For-Each with ArrayList AnnEx arraylist
154 ArrayList Demo Java CodeVisualization for demonstrating ArrayList Demo JSVEE arraylist, list
155 For-Each with ArrayList Java CodeVisualization for demonstrating For-Each with ArrayList JSVEE arraylist, list
156 Switch Demo 2 Java CodeVisualization for demonstrating Switch Demo 2 JSVEE arraylist, conditionals, switch statement
157 Lists and ArrayList Class Review Quiz Question, Battery Introduction to lists and the ArrayList class for CS1 review questions. OpenDSA ArrayList Class
158 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
159 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
160 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
161 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
162 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
163 Arrays 3 Java PredictingFinalResult for demonstrating Arrays 3 QuizJET 2d arrays, arrays, classes, objects
164 Arrays 4 Java PredictingFinalResult for demonstrating Arrays 4 QuizJET 2d arrays, arraylist, arrays, loops, overloading
165 Arrays 5 Java PredictingFinalResult for demonstrating Arrays 5 QuizJET 2d arrays, arrays, classes, objects
166 ArrayList 1 Java PredictingFinalResult for demonstrating ArrayList 1 QuizJET arraylist, linked list, list
167 ArrayList 2 Java PredictingFinalResult for demonstrating ArrayList 2 QuizJET arraylist
168 ArrayList 3 Java PredictingFinalResult for demonstrating ArrayList 3 QuizJET arraylist, list
169 ArrayList 4 Java PredictingFinalResult for demonstrating ArrayList 4 QuizJET arraylist, list
170 ArrayList 5 Java PredictingFinalResult for demonstrating ArrayList 5 QuizJET arraylist
171 jLabArray1 Java PredictingFinalResult for demonstrating jLabArray1 QuizJET arraylist, arrays, loops, overloading
172 Question 7 Java PredictingFinalResult for demonstrating Question 7 QuizJET arrays
173 Question 8 Java PredictingFinalResult for demonstrating Question 8 QuizJET arraylist
174 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
175 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
176 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
177 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
178 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
179 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
180 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
181 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
182 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
183 Create 2D Array Create 2D Array AnnEx 2d arrays, arrays, variables
184 (Two-dim arrays) Matrix multiply - CSEdPad This program demonstrates the multiplication of two matrices using a two-dimensional array AnnEx 2d arrays
185 For-each with char array For-each with char array AnnEx 2d arrays, arrays
186 Multidimensional Array Iteration Multidimensional Array Iteration AnnEx 2d arrays, arrays
187 Use 2D Array Use 2D Array AnnEx 2d arrays, arithmetic operations, arrays, variables
188 2D array Demo Java CodeVisualization for demonstrating 2D array Demo JSVEE 2d arrays, arrays
189 Use 2D Array Java CodeVisualization for demonstrating Use 2D Array JSVEE 2d arrays, arrays
190 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
191 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
192 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
193 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
194 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
195 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
196 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
197 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
198 4-02_Arrays2D Java BehaviorExample for demonstrating 4-02_Arrays2D AnnEx 2d arrays
199 4-02_TicTacToe Java BehaviorExample for demonstrating 4-02_TicTacToe AnnEx 2d arrays
200 Enhanced For Loop Demo Java BehaviorExample for demonstrating Enhanced For Loop Demo AnnEx 2d arrays, arrays
201 For-Each 2 For-Each 2 AnnEx 2d arrays, arrays
202 For-Each For-Each AnnEx 2d arrays, arrays
203 For-each with break For-each with break AnnEx 2d arrays, arrays
204 Tic-Tac-Toe Java BehaviorExample for demonstrating Tic-Tac-Toe AnnEx 2d arrays, arrays
205 Using an Array2 Using an Array2 AnnEx 2d arrays, arrays
206 Using an Array1 Using an Array1 AnnEx 2d arrays, arrays
207 Enhanced For Loop Demo Java CodeVisualization for demonstrating Enhanced For Loop Demo JSVEE 2d arrays, arraylist, arrays, for loop
208 For-Each Java CodeVisualization for demonstrating For-Each JSVEE 2d arrays, arraylist, arrays, loops
209 For-each with break Java CodeVisualization for demonstrating For-each with break JSVEE 2d arrays, arraylist, arrays, loops
210 Using an Array2 Java CodeVisualization for demonstrating Using an Array2 JSVEE 2d arrays, arrays
211 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
212 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
213 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
214 2D Arrays 1 Java PredictingFinalResult for demonstrating 2D Arrays 1 QuizJET 2d arrays, arrays
215 2D Arrays 2 Java PredictingFinalResult for demonstrating 2D Arrays 2 QuizJET 2d arrays, arrays
216 Problem 7 Java PredictingFinalResult for demonstrating Problem 7 QuizJET 2d arrays, arrays
217 2D Arrays 4 Java PredictingFinalResult for demonstrating 2D Arrays 4 QuizJET 2d arrays, arrays
218 Problem 5 Java PredictingFinalResult for demonstrating Problem 5 QuizJET 2d arrays, arrays
219 Problem 6 Java PredictingFinalResult for demonstrating Problem 6 QuizJET 2d arrays, arrays
220 Enhanced For Loop Java PredictingFinalResult for demonstrating Enhanced For Loop QuizJET 2d arrays, arrays, loops
221 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
222 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
223 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
224 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
225 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
226 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
227 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
228 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
229 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
230 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
231 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
232 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
233 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
234 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
235 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
236 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
237 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
238 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
239 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
240 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
241 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
242 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
243 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
244 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
245 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
246 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
247 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
248 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
249 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
250 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
251 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
252 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
253 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
254 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
255 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
256 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
257 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
258 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
259 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
260 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
261 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
262 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
263 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
264 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
265 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
266 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
267 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
268 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
269 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
270 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
271 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
272 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
273 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
274 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
275 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
276 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
277 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
278 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
279 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
280 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
281 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
282 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
283 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
284 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
285 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
286 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
287 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
288 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
289 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
290 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
291 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
292 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
293 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
294 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
295 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
296 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
297 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
298 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
299 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
300 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
301 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
302 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
303 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
304 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
305 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
306 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
307 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
308 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
309 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
310 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
311 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
312 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
313 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
314 Repeat with NW NE SW SE. Code Completion Repeat with NW NE SW SE. CodeCheck Two-Dimensional Arrays, No Loops
315 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
316 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
317 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
318 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
319 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
320 Repeat with NW NE SW SE. Code Completion Repeat with NW NE SW SE. CodeCheck Two-Dimensional Arrays, No Loops
321 List Implementation Overhead Exercise Calculation Exercise, Battery User provides overhead computations for specified implementations. OpenDSA Linked List, Array-Based List, Overhead, List Implementation Comparison
322 Array of Char C++ BehaviorExample for demonstrating Array of Char AnnEx
323 ArrayAddresses C++ BehaviorExample for demonstrating ArrayAddresses AnnEx
324 ArrayPointers C++ BehaviorExample for demonstrating ArrayPointers AnnEx
325 ArraysSubscript C++ BehaviorExample for demonstrating ArraysSubscript AnnEx
326 DEPRECATED_Array Declaration Java BehaviorExample for demonstrating DEPRECATED_Array Declaration AnnEx
327 HKC array testing 1 testing authoring tool and course authoring AnnEx
328 Static Arrays C++ BehaviorExample for demonstrating Static Arrays AnnEx
329 Using Arrays C++ BehaviorExample for demonstrating Using Arrays AnnEx
330 DEPRECATED_ArrayList Demo Java BehaviorExample for demonstrating DEPRECATED_ArrayList Demo AnnEx
331 IS17_ArrayList1 Java BehaviorExample for demonstrating IS17_ArrayList1 AnnEx
332 IS17_ArrayList1_1 Java BehaviorExample for demonstrating IS17_ArrayList1_1 AnnEx
333 IS17_ArrayList1_2 Java BehaviorExample for demonstrating IS17_ArrayList1_2 AnnEx
334 IS17_ArrayList1_3 Java BehaviorExample for demonstrating IS17_ArrayList1_3 AnnEx
335 IS17_ArrayList1_4 Java BehaviorExample for demonstrating IS17_ArrayList1_4 AnnEx
336 IS17_ArrayList1_5 Java BehaviorExample for demonstrating IS17_ArrayList1_5 AnnEx
337 IS17_ArrayList1_6 Java BehaviorExample for demonstrating IS17_ArrayList1_6 AnnEx
338 IS17_ArrayList1_7 Java BehaviorExample for demonstrating IS17_ArrayList1_7 AnnEx
339 IS17_ArrayList2 Java BehaviorExample for demonstrating IS17_ArrayList2 AnnEx
340 IS17_ArrayList2_1 Java BehaviorExample for demonstrating IS17_ArrayList2_1 AnnEx
341 IS17_ArrayList2_2 Java BehaviorExample for demonstrating IS17_ArrayList2_2 AnnEx
342 IS17_ArrayList2_3 Java BehaviorExample for demonstrating IS17_ArrayList2_3 AnnEx
343 IS17_ArrayList2_4 Java BehaviorExample for demonstrating IS17_ArrayList2_4 AnnEx
344 IS17_ArrayList2_5 Java BehaviorExample for demonstrating IS17_ArrayList2_5 AnnEx
345 IS17_ArrayList2_6 Java BehaviorExample for demonstrating IS17_ArrayList2_6 AnnEx
346 IS17_ArrayList2_7 Java BehaviorExample for demonstrating IS17_ArrayList2_7 AnnEx
347 IS17_ArrayList3 Java BehaviorExample for demonstrating IS17_ArrayList3 AnnEx
348 IS17_ArrayList3_1 Java BehaviorExample for demonstrating IS17_ArrayList3_1 AnnEx
349 IS17_ArrayList3_2 Java BehaviorExample for demonstrating IS17_ArrayList3_2 AnnEx
350 IS17_ArrayList3_3 Java BehaviorExample for demonstrating IS17_ArrayList3_3 AnnEx
351 IS17_ArrayList3_4 Java BehaviorExample for demonstrating IS17_ArrayList3_4 AnnEx
352 IS17_ArrayList3_5 Java BehaviorExample for demonstrating IS17_ArrayList3_5 AnnEx
353 IS17_ArrayList3_6 Java BehaviorExample for demonstrating IS17_ArrayList3_6 AnnEx
354 IS17_ArrayList3_7 Java BehaviorExample for demonstrating IS17_ArrayList3_7 AnnEx
355 IS17_ArrayList3_8 Java BehaviorExample for demonstrating IS17_ArrayList3_8 AnnEx
356 IS12:: arrayio.c (119.1) C BehaviorExample for demonstrating IS12:: arrayio.c (119.1) WebEx
357 IS12:: arrayiofor.c (119.2) C BehaviorExample for demonstrating IS12:: arrayiofor.c (119.2) WebEx
358 IS12:: arraymax.c (9.2) C BehaviorExample for demonstrating IS12:: arraymax.c (9.2) WebEx
359 IS12:: arraymin.c (9.3) C BehaviorExample for demonstrating IS12:: arraymin.c (9.3) WebEx
360 IS12:: arraysum.c (9.1) C BehaviorExample for demonstrating IS12:: arraysum.c (9.1) WebEx
361 c_min_array Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najmanji element u nizu. PCEX
362 c_max_array Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najveći element u nizu. PCEX
363 DEPRECATED_Create 2D Array Java BehaviorExample for demonstrating DEPRECATED_Create 2D Array AnnEx
364 DEPRECATED_Use 2D Array Java BehaviorExample for demonstrating DEPRECATED_Use 2D Array AnnEx
365 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
366 q_java_Array 6 Java PredictingFinalResult for demonstrating q_java_Array 6 QuizJET
367 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
368 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
369 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
370 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
371 Using 2D Arrays C++ BehaviorExample for demonstrating Using 2D Arrays AnnEx
372 One Dim Arrays C++ BehaviorExample for demonstrating One Dim Arrays AnnEx
373 DEPRECATED_Create ArrayList Java BehaviorExample for demonstrating DEPRECATED_Create ArrayList AnnEx
374 DEPRECATED_Using an Array2 Java BehaviorExample for demonstrating DEPRECATED_Using an Array2 AnnEx
375 DEPRECATED_Using an Array1 Java BehaviorExample for demonstrating DEPRECATED_Using an Array1 AnnEx
376 q_py_2d_arrays1_es Python PredictingFinalResult for demonstrating q_py_2d_arrays1_es QuizPET 2d list
377 q_py_2d_arrays2_es Python PredictingFinalResult for demonstrating q_py_2d_arrays2_es QuizPET 2d list
378 q_py_2d_arrays3_es Python PredictingFinalResult for demonstrating q_py_2d_arrays3_es QuizPET 2d list
379 q_py_2d_arrays4_es Python PredictingFinalResult for demonstrating q_py_2d_arrays4_es QuizPET 2d list
380 q_java_ArrayList 6 Java PredictingFinalResult for demonstrating q_java_ArrayList 6 QuizJET
381 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
382 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
383 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
384 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
385 (Sorting) Bubble sort - CSEdPad Sort a given unsorted array using bubble sort in ascending order AnnEx sorting algorithms
386 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
387 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
388 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
389 Binary Search - 1 Construct a function that receives an array and a target element to be searched in the given array. If the... PCEX
390 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
391 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
392 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
393 Sort real data Code Completion Your task is to sort an array list of path names such as CodeCheck Sorting and Searching
394 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
395 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
396 Count Inversions Proficiency Exercise Calculation Exercise Proficiency exercise to count the number of inversions in an array. OpenDSA Exchange Sort, Inversion
397 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
398 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
399 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
400 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
401 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
402 Shellsort Proficiency Exercise Tracing Exercise Interactive proficiency exercise for Shellsort. User clicks on array cells to indicate the behavior of Shellsort. OpenDSA Shellsort
403 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
404 Shellsort Proficiency Exercises Tracing Exercise Shellsort proficiency exercises. User clicks on array cells to reproduce the behavior of Shellsort. OpenDSA Shellsort
405 Introduction to Hashing Slideshow Algorithm Visualization Slideshow showing the simplest of hashing approaches: Just put a key into that array position. OpenDSA Hashing
406 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
407 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
408 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
409 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
410 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
411 Heapsort Profiency Exercise Tracing Exercise Heapsort proficiency exercise. User must show all of the steps for updating the array during Heapsort. OpenDSA Heapsort
412 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
413 Mergesort Profiency Exercise Tracing Exercise Mergesort proficiency exercise. User must show all of the merge steps for all values in the array. OpenDSA Mergesort
414 Quicksort Proficiency Exercise Tracing Exercise Proficiency exercise for Quicksort. User must show the complete sequence of steps for sorting an array. OpenDSA Quicksort
415 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
416 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
417 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
418 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
419 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
420 JLinkedListUtil This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... PCEX
421 JLinkedListUtil Challenge This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... PCEX
422 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
423 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
424 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
425 (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
426 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
427 Insertion Sort Challenge Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... PCEX
428 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
429 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
430 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
431 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
432 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
433 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
434 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
435 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
436 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
437 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
438 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
439 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