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 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