Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Given a list of integers, count how many elements are negative. Code Completion Given a list of integers, count how many elements are negative. CodeCheck Lists - Simple Exercises, Counting Elements
2 Given a list a, count how many times the ith element from the front equals the ith element from the back. Code Completion Given a list a, count how many times the ith element from the front equals the ith element from the... CodeCheck Lists - Simple Exercises, Counting Elements
3 Given a list of integers and two values a and b, count how many elements are at least a and at most b. Code Completion Given a list of integers and two values a and b, count how many elements are at least a and... CodeCheck Lists - Simple Exercises, Counting Elements
4 Given a list of integers, return the most frequent element. Code Completion Given a list of integers, return the most frequent element. If there is more than one element with maximum frequency,... CodeCheck Lists - Simple Exercises, Counting Elements
5 Given a list of integers, return a list of all elements that occur with maximum frequency. Code Completion Given a list of integers, return a list of all elements that occur with maximum frequency. CodeCheck Lists - Simple Exercises, Counting Elements
6 Given a list 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 a list of integers, return the position of the first element that occurs more than once, or -1 if... CodeCheck Lists - Simple Exercises, Counting Elements
7 Given a list of integers, return a list of all elements that occur exactly once. Code Completion Given a list of integers, return a list of all elements that occur exactly once. CodeCheck Lists - Simple Exercises, Counting Elements
8 Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. Code Completion Given a list of integers, remove all elements that occur more than once, leaving the first occurrence. CodeCheck Lists - Simple Exercises, Counting Elements
9 Given two lists of integers a and b of the same length, count the number of positions where the lists have the same elements. Code Completion Given two lists of integers a and b of the same length, count the number of positions where the lists... CodeCheck Lists - Simple Exercises, Counting Elements
10 Given two lists of integers a and b of the same length, count the number of positions where the list elements differ by at least 2. Code Completion Given two lists of integers a and b of the same length, count the number of positions where the list... CodeCheck Lists - Simple Exercises, Counting Elements
11 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
12 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
13 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
14 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
15 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
16 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
17 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
18 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
19 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
20 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
21 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
22 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