Download results
Showing 0-0 of 0 results
Items per page:
10
25
50
100
#
Exercise Title
Features
Description
Platform
Keywords
1
Given an integer n, return a list of length n containing 1 -1 1 -1 .
Code Completion
Given an integer n, return a list of length n containing 1 -1 1 -1 ...
CodeCheck
Lists - Simple Exercises
,
Filling
2
Given integers n and k, return a list of length n containing 0 1 2 .
Code Completion
Given integers n and k, return a list of length n containing 0 1 2 ... k-1 0 1 2...
CodeCheck
Lists - Simple Exercises
,
Filling
3
Given integers a and b, return a list containing a, a + 1, a + 2, .
Code Completion
Given integers a and b, return a list containing a, a + 1, a + 2, ..., b.
CodeCheck
Lists - Simple Exercises
,
Filling
4
Given integers a and b, return a list containing all even numbers that are at least a and at most b.
Code Completion
Given integers a and b, return a list containing all even numbers that are at least a and at most...
CodeCheck
Lists - Simple Exercises
,
Filling
5
Given an integer n, return a list containing 1 2 2 3 3 3 4 4 4 4 .
Code Completion
Given an integer n, return a list containing 1 2 2 3 3 3 4 4 4 4 ... and...
CodeCheck
Lists - Simple Exercises
,
Filling
6
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
7
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
8
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
9
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
10
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
11
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
12
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
13
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
14
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
15
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
×
This is a detailed description.