Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Desplazando los Valores de la Lista a la Izquierda Una Posicion Construye un programa que tenga una función que reciba una lista de valores y devuelva la lista desplazada a la... PCEX list
2 Desplazando los Valores de la Lista a la Izquierda Dos Posiciones Construye un programa que tenga una función que reciba una lista de valores y devuelva la lista desplazada a la... PCEX list
3 Desplazando los Valores de la Lista a la Derecha una Posicion Construye un programa que tenga una función que reciba una lista de valores y devuelva la lista desplazada a la... PCEX list
4 Desplazando los Valores de la Lista a la Derecha Dos Posiciones Construye un programa que tenga una función que reciba una lista de valores y devuelva la lista desplazada a la... PCEX list
5 Mostrando los Dias que Estan por Sobre el Promedio de Temperatura Construir un programa que lea una serie de temperaturas y reporte la temperatura promedio y el número de días que... PCEX list
6 Mostrando los Dias que Estan por Sobre 32 Grados Fahrenheit Construye un programa que lea una serie de temperaturas y reporte los días que están por sobre 32 grados Fahrenheit... PCEX list
7 Lists 1 Python CodeVisualization for demonstrating Lists 1 JSVEE list
8 Lists 2 Python CodeVisualization for demonstrating Lists 2 JSVEE list
9 Lists 3 Python CodeVisualization for demonstrating Lists 3 JSVEE list
10 ae_python_list Python CodeVisualization for demonstrating ae_python_list JSVEE list
11 ae_python_split Python CodeVisualization for demonstrating ae_python_split JSVEE list
12 Valores y referencias en listas Construye una funcion que agregue valores de k a la lista dada. Los valores agregados son incrementos de k (incrementando... jsParsons list
13 Reorganizar la lista Construye un programa que divida la lista original de enteros de manera que todos los numeros pares vengan primero y... jsParsons list
14 Reorganizar la lista Construye una funcion que divida la lista de enteros dada como parametro de manera que todos los numeros pares vengan... jsParsons list
15 Actualizar elementos en una nueva lista Construye una funcion que encuentre los numeros pares en la lista dada como parametro, calcule el cuadrado de cada uno... jsParsons list
16 Actualizar elementos necesarios en una nueva lista Construye un programa que encuentre los numeros pares en la lista original, calcule el cuadrado de cada uno de esos... jsParsons list
17 Actualizar los elementos en una nueva lista Construye una funcion que encuentre los numeros pares en la lista dada como parametro, calcule el cuadrado de cada uno... jsParsons list
18 Actualizar elementos necesarios en una nueva lista Construye un programa que encuentre los numeros pares en la lista original, calcule el cuadrado de cada uno de esos... jsParsons list
19 List Iteration Zoo Construct a program that prints out all the animals in the zoo-variable. jsParsons list
20 Construir una función que devuelva una lista de restos (módulos) del valor de entrada Construye una funcion que calcule el residuo de cada elemento de la primera lista con el elemento del mismo indice... jsParsons list
21 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista [1, 2, 3, 4, 5]. jsParsons list
22 Reverse the list Construct a program which creates a new list that is the reverse of the orginal list. jsParsons list
23 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista [1, 2, 3, 4, 5]. jsParsons list
24 Reverse the list Construct a program which creates a new list that is the reverse of the orginal list. jsParsons list
25 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista [1, 2, 3, 4, 5]. jsParsons list
26 Reverse the list Construct a program which creates a new list that is the reverse of the orginal list. jsParsons list
27 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista [1, 2, 3, 4, 5]. jsParsons list
28 Nested List Indexing Construct a program that first prints out [[1, 2, 3], [4, 5, 6]], then [4, 5, 6], and finally 6. jsParsons list
29 Eliminar duplicados de una lista Construye una funcion que cree una nueva lista donde se almacenen todos los elementos excepto los duplicados de la lista... jsParsons list
30 List Pop Python CodeVisualization for demonstrating List Pop JSVEE list
31 combine two lists Python PredictingFinalResult for demonstrating combine two lists QuizPET list
32 q_py_aliasing1_es Python PredictingFinalResult for demonstrating q_py_aliasing1_es QuizPET list
33 q_py_aliasing2_es Python PredictingFinalResult for demonstrating q_py_aliasing2_es QuizPET list
34 Ordenamiento de burbuja 1 Python PredictingFinalResult for demonstrating Ordenamiento de burbuja 1 QuizPET list
35 Ordenamiento de burbuja 2 Python PredictingFinalResult for demonstrating Ordenamiento de burbuja 2 QuizPET list
36 q_py_list_access1_es Python PredictingFinalResult for demonstrating q_py_list_access1_es QuizPET list
37 modify a list Python PredictingFinalResult for demonstrating modify a list QuizPET list
38 modify a list in a loop Python PredictingFinalResult for demonstrating modify a list in a loop QuizPET list
39 q_py_list_append1_es Python PredictingFinalResult for demonstrating q_py_list_append1_es QuizPET list
40 append to a list Python PredictingFinalResult for demonstrating append to a list QuizPET list
41 q_py_list_int_ref1_es Python PredictingFinalResult for demonstrating q_py_list_int_ref1_es QuizPET list
42 remove from a list Python PredictingFinalResult for demonstrating remove from a list QuizPET list
43 q_py_list_str_ref1_es Python PredictingFinalResult for demonstrating q_py_list_str_ref1_es QuizPET list
44 q_py_reference_list1_es Python PredictingFinalResult for demonstrating q_py_reference_list1_es QuizPET list
45 q_py_reference_reverse_es Python PredictingFinalResult for demonstrating q_py_reference_reverse_es QuizPET list
46 q_py_sequential_search_es Python PredictingFinalResult for demonstrating q_py_sequential_search_es QuizPET list
47 List Basics Python BehaviorExample for demonstrating List Basics WebEx list
48 Accessing the List Index Python BehaviorExample for demonstrating Accessing the List Index WebEx list
49 Replacing list elements Python BehaviorExample for demonstrating Replacing list elements WebEx list
50 Appending Values to List Python BehaviorExample for demonstrating Appending Values to List WebEx list
51 Removing list elements Python BehaviorExample for demonstrating Removing list elements WebEx list
52 Addiing Lists Python BehaviorExample for demonstrating Addiing Lists WebEx list
53 Creating list of items Python BehaviorExample for demonstrating Creating list of items WebEx list
54 General List Summary Questions Question, Battery Summary self-practice questions on lists. OpenDSA List
55 List ADT Positions Slideshow Presentation Slideshow discussing the concept of current position in a list and its implications for insertion. OpenDSA List
56 Modifying a List Construct a program that increments all values of the list by 1. PCEX list
57 Adding Values to an Empty List Construct a program that creates a list of first ten positive odd numbers. PCEX list
58 Calculating Sum/Average of the List Values Construct a program that has a function that receives a list and calculates the sum of the values in that... PCEX list
59 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 list
60 Modifying a List Construct a program that swaps pairs of adjacent elements of the list. For example, if the list is [1, 2,... PCEX list
61 Adding Values to an Empty List Construct a program that creates a list of eight string values received from the user. PCEX list
62 Calculating Sum/Average of the List Values Construct a program that has a function that receives a list and calculates the average of the values in that... PCEX list
63 Rotating the List Values (Case 2) Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX list
64 Rotating the List Values (Case 3) Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX list
65 Rotating the List Values (Case 4) Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX list
66 Processing a List of Temperature Values Construct a program that reads a series of temperatures and reports the days that are above 32 degrees Fahrenheit. Assume... PCEX list
67 Practicar métodos de cadenas Construye un programa que imprima una oracion a partir de una lista dada de palabras. jsParsons list, strings
68 Partition2 Python CodeVisualization for demonstrating Partition2 JSVEE list, nested loops
69 Passing Lists Construct a function that calculate square values of the list’s elements. PCEX list, value vs reference
70 Variable type: Lists Python BehaviorExample for demonstrating Variable type: Lists WebEx list, variables
71 Introduction to Lists Module Review Quiz Question, Battery Introduction to lists and nested for loops for CS1 review questions. OpenDSA List, For Loop
72 Linear Structures Chapter Summary Questions Question, Battery Self-practice questions related to all aspects of lists, stacks, and queues. OpenDSA List, Stack, Queue
73 Linear Data Structures Summary Questions Question, Battery Self-practice questions comparing uses of linear structures. OpenDSA List, Stack, Queue
74 List Implementation Overhead Exercise Calculation Exercise, Battery User provides overhead computations for specified implementations. OpenDSA Linked List, Array-Based List, Overhead, List Implementation Comparison
75 List Element Data Slideshow Algorithm Visualization Slideshow discussing the tradeoffs for storing element values in link nodes vs. references to element values. OpenDSA List Element Implementation
76 List Element Deletion Slideshow Algorithm Visualization Slideshow discussing the design choices on what to do when a list element is deleted. OpenDSA List Element Implementation
77 List Element Type Slideshow Algorithm Visualization Slideshow illustrating the choice between storing non-homogeneous data types in list nodes and limiting to a homogenous data type. OpenDSA List Element Implementation
78 Updating an Element in a List Construct a program that initializes a list with three values, changes the first element in the list, and finally, prints... PCEX list, value vs reference
79 Finding the Min/Max Value in a List Write a program that finds the maximum value in a list. PCEX list, value vs reference
80 Updating an Element in a List (Case 2) Construct a program that initializes a list with five floating-point numbers, changes the second element in the list, and finally,... PCEX list, value vs reference
81 Updating an Element in a List (Case 3) Construct a program that initializes a list with four string values, changes the last element in the list, and finally,... PCEX list, value vs reference
82 Finding the Min/Max Value in a List Write a program that finds the minimum value in a list. PCEX list, search algorithms
83 Searching Values of a List in Another List (Case 3) Construct a program that has a function that receives two lists and creates a list that contains the number of... PCEX list, search algorithms
84 Searching Values of a List in Another List (Case 2) Construct a program that has a function that receives two lists and prints the total number of times the elements... PCEX list, search algorithms
85 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
86 Given a list of integers of length ≥ 4, return the average of the first two and last two elements. Code Completion Given a list of integers of length ≥ 4, return the average of the first two and last two elements. CodeCheck Lists - Simple Exercises, No loops
87 Given a list 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 a list of integers of length ≥ 3, return the average of the first, last, and middle element (or... CodeCheck Lists - Simple Exercises, No loops
88 Given a list of integers, swap the first and last elements. Code Completion Given a list of integers, swap the first and last elements. CodeCheck Lists - Simple Exercises, No loops
89 Given a list of integers, swap the first two and the last two elements. Code Completion Given a list of integers, swap the first two and the last two elements. CodeCheck Lists - Simple Exercises, No loops
90 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
91 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
92 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
93 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
94 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
95 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
96 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
97 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
98 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
99 Given two lists a and b, return a list that contains all elements occurring in a but not in b. Code Completion Given two lists a and b, return a list that contains all elements occurring in a but not in b. CodeCheck Lists - Simple Exercises, Double Loops
100 Given a list a, return the longest n so that the first n elements equal the last n elements. Code Completion Given a list a, return the longest n so that the first n elements equal the last n elements. CodeCheck Lists - Simple Exercises, Double Loops
101 Given a list of integers, return the largest sum of consecutive elements. Code Completion Given a list of integers, return the largest sum of consecutive elements. CodeCheck Lists - Simple Exercises, Double Loops
102 Given a list of integers, return the largest sequence whose reverse also occurs somewhere in the list. Code Completion Given a list of integers, return the largest sequence whose reverse also occurs somewhere in the list. CodeCheck Lists - Simple Exercises, Double Loops
103 Given a list a of integers, return a list of all elements of a that occur exactly once. Code Completion Given a list a of integers, return a list of all elements of a that occur exactly once. CodeCheck Lists - Simple Exercises, Double Loops
104 Given a list of integers, return a list of lists of length 2, containing each unique element together with its frequency. Code Completion Given a list of integers, return a list of lists of length 2, containing each unique element together with its... CodeCheck Lists - Simple Exercises, Double Loops
105 Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a + 2, . Code Completion Given a list of integers, return the position of the longest subsequence of consecutive integers a, a + 1, a... CodeCheck Lists - Simple Exercises, Double Loops
106 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
107 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
108 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
109 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
110 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
111 Given a list of integers and a value, return the position of the last occurrence of the value in the list, or -1 if the value does not exist. Code Completion Given a list of integers and a value, return the position of the last occurrence of the value in the... CodeCheck Lists - Simple Exercises, Finding Elements
112 Given a list of integers and a value, return the difference between the last and first position of the value in the list, or -1 if the value does not exist. Code Completion Given a list of integers and a value, return the difference between the last and first position of the value... CodeCheck Lists - Simple Exercises, Finding Elements
113 Given a list of integers and a value, return a list of all positions of the value in the list. Code Completion Given a list of integers and a value, return a list of all positions of the value in the list. CodeCheck Lists - Simple Exercises, Finding Elements
114 Given a list of integers and a value, return the position of the element that is closest to the value. Code Completion Given a list of integers and a value, return the position of the element that is closest to the value.... CodeCheck Lists - Simple Exercises, Finding Elements
115 Given a list of integers, return the position of the first occurrence of the largest element. Code Completion Given a list of integers, return the position of the first occurrence of the largest element. CodeCheck Lists - Simple Exercises, Maximum and Minimum
116 Given a list of integers, return the position of the last occurrence of the largest element. Code Completion Given a list of integers, return the position of the last occurrence of the largest element. CodeCheck Lists - Simple Exercises, Maximum and Minimum
117 Given a list of integers, return the difference of the positions of the first and the last occurrence of the largest element. Code Completion Given a list of integers, return the difference of the positions of the first and the last occurrence of the... CodeCheck Lists - Simple Exercises, Maximum and Minimum
118 Given a list of integers, return the difference between the maximum and minimum. Code Completion Given a list of integers, return the difference between the maximum and minimum. CodeCheck Lists - Simple Exercises, Maximum and Minimum
119 Given a list of integers, swap the the maximum and minimum. Code Completion Given a list of integers, swap the the maximum and minimum. CodeCheck Lists - Simple Exercises, Maximum and Minimum
120 Given a list of integers, return the second-largest element. Code Completion Given a list of integers, return the second-largest element. CodeCheck Lists - Simple Exercises, Maximum and Minimum
121 Given a list of elements, find the shortest distance between two consecutive elements. Code Completion Given a list of elements, find the shortest distance between two consecutive elements. CodeCheck Lists - Simple Exercises, Maximum and Minimum
122 Given a list of integers and an integer n, remove all elementts &gt; n or &lt; -n. Code Completion Given a list of integers and an integer n, remove all elementts > n or < -n. Shift all remaining... CodeCheck Lists - Simple Exercises, Moving or Removing Elements
123 Given a list of integers, move all zeroes to the back. Code Completion Given a list of integers, move all zeroes to the back. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
124 Given a list of integers, move all zeroes to the front. Code Completion Given a list of integers, move all zeroes to the front. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
125 Given a list of integers, move all negative numbers to the front and all positive numbers to the back, keeping their relative order. Code Completion Given a list of integers, move all negative numbers to the front and all positive numbers to the back, keeping... CodeCheck Lists - Simple Exercises, Moving or Removing Elements
126 Given a list of integers, remove all even elements that occur exactly twice. Code Completion Given a list of integers, remove all even elements that occur exactly twice. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
127 Given a list of integers, remove all adjacent duplicates. Code Completion Given a list of integers, remove all adjacent duplicates. CodeCheck Lists - Simple Exercises, Moving or Removing Elements
128 Given a list of integers, return the sum of all positive elements. Code Completion Given a list of integers, return the sum of all positive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
129 Given a list of integers, find the largest sum of two different elements in the list. Code Completion Given a list of integers, find the largest sum of two different elements in the list. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
130 Given a list of floating-point numbers, return a list of the averages of consecutive element pairs of the original list. Code Completion Given a list of floating-point numbers, return a list of the averages of consecutive element pairs of the original list. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
131 Given a list of integers and an integer n, return a list of the averages of n consecutive elements of the original list. Code Completion Given a list of integers and an integer n, return a list of the averages of n consecutive elements of... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
132 Given a list of integers, return the average of all elements that are not the maximum or minimum. Code Completion Given a list of integers, return the average of all elements that are not the maximum or minimum. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
133 Given a list of integers, replace each element with the average of its neighbors. Code Completion Given a list of integers, replace each element with the average of its neighbors. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
134 Given a list of integers, return the sum of all odd elements. Code Completion Given a list of integers, return the sum of all odd elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
135 Given a list 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 a list of integers and two values a and b, return the sum of all elements that are at... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
136 Given a list of integers, return the average of all positive elements. Code Completion Given a list of integers, return the average of all positive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
137 Given a list of strings and a string s, return the average length of all strings containing s. Code Completion Given a list of strings and a string s, return the average length of all strings containing s. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
138 Given a list of integers, return the product of all non-zero elements. Code Completion Given a list of integers, return the product of all non-zero elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
139 Given a list of integers, give the largest n so that the sum of the first n elements equals the sum of the remaining elements. Code Completion Given a list of integers, give the largest n so that the sum of the first n elements equals the... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
140 Given a list 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 a list of integers, give the largest n ≤ length / 2 so that the sum of the first... CodeCheck Lists - Simple Exercises, Sums, Averages, Products
141 Given a list of integers, give the largest sum of n consecutive elements. Code Completion Given a list of integers, give the largest sum of n consecutive elements. CodeCheck Lists - Simple Exercises, Sums, Averages, Products
142 Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. Code Completion Given a list of integers, return a list of length 2 containing the first and last element, in sorted order. CodeCheck Lists - Simple Exercises, Two Answers
143 Given a list of integers, return a list of length 2 containing the minimum and the maximum. Code Completion Given a list of integers, return a list of length 2 containing the minimum and the maximum. CodeCheck Lists - Simple Exercises, Two Answers
144 Given a list of integers, return a list of length 2, with the number of positive and the number of negative elements in the list. Code Completion Given a list of integers, return a list of length 2, with the number of positive and the number of... CodeCheck Lists - Simple Exercises, Two Answers
145 Given a list of integers, return a list of length 2, each being a list. Code Completion Given a list of integers, return a list of length 2, each being a list. The first one holds the... CodeCheck Lists - Simple Exercises, Two Answers
146 Given a list of integers, return a list of length 2, each being a list. Code Completion Given a list of integers, return a list of length 2, each being a list. The first one holds the... CodeCheck Lists - Simple Exercises, Two Answers
147 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
148 Given two lists a and b, remove all elements of b from a. Code Completion Given two lists a and b, remove all elements of b from a. CodeCheck Lists - Simple Exercises, Double Loops
149 Given two lists of integers of the same length, return the first position where their elements are the same. Code Completion Given two lists of integers of the same length, return the first position where their elements are the same. CodeCheck Lists - Simple Exercises, Finding Elements
150 Given two lists of integers of the same length, return the first position where their elements differ. Code Completion Given two lists of integers of the same length, return the first position where their elements differ. CodeCheck Lists - Simple Exercises, Finding Elements
151 Imprimir Tabla de Conteo de Medallas con Totales por Fila Supongamos que tenemos una matriz de 7x4 que almacena el número de medallas que siete países ganaron en las competencias... PCEX 2d list
152 Imprimir Tabla de Conteo de Medallas con Totales por Fila y por Columna Supongamos que tenemos una matriz de 7x4 que almacena el número de medallas que siete países ganaron en las competencias... PCEX 2d list
153 Two-dimensional List Construct a program that prints out [[0, 1, 2], [3, 4, 5], [6, 7, 99]] jsParsons 2d list, classes, data structures, list, stacks
154 Construct a function that checks the size of a linked list Construct a function that calculates the number of elements in a singly linked list.
LinkedList class implementation is given below.
jsParsons linked list
155 Practicar indexación de listas Construye un programa que primero imprima [[1, 2, 3], [4, 5, 6]], luego [4, 5, 6], y finalmente 6. jsParsons 2d list, list
156 Age Checking Python CodeVisualization for demonstrating Age Checking JSVEE 2d list, list
157 Singly Linked List Python CodeVisualization for demonstrating Singly Linked List JSVEE linked list
158 Search in the linked list. When using a LinkedList, it is possible that you may want to search through the list to see if a... PCEX linked list, search algorithms
159 Singly Linked List Create the necessary classes for a Singly Linked List, containing the method append(item) to add a new item to the... PCEX linked list
160 q_py_2d_arrays1_es Python PredictingFinalResult for demonstrating q_py_2d_arrays1_es QuizPET 2d list
161 Two-dimensional List 1 Python PredictingFinalResult for demonstrating Two-dimensional List 1 QuizPET 2d list, list
162 q_py_2d_arrays2_es Python PredictingFinalResult for demonstrating q_py_2d_arrays2_es QuizPET 2d list
163 Two-dimensional List 2 Python PredictingFinalResult for demonstrating Two-dimensional List 2 QuizPET 2d list, algorithm analysis, list
164 q_py_2d_arrays3_es Python PredictingFinalResult for demonstrating q_py_2d_arrays3_es QuizPET 2d list
165 Two-dimensional List 3 Python PredictingFinalResult for demonstrating Two-dimensional List 3 QuizPET 2d list, list
166 q_py_2d_arrays4_es Python PredictingFinalResult for demonstrating q_py_2d_arrays4_es QuizPET 2d list
167 Two-dimensional List 4 Python PredictingFinalResult for demonstrating Two-dimensional List 4 QuizPET 2d list, algorithm analysis, classes, data structures, list, stacks
168 Doouble linked list 3 Python PredictingFinalResult for demonstrating Doouble linked list 3 QuizPET linked list, list
169 q_py_nested_for_while_es Python PredictingFinalResult for demonstrating q_py_nested_for_while_es QuizPET 2d list
170 Single linked list Python PredictingFinalResult for demonstrating Single linked list QuizPET linked list, list
171 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
172 Linked List Insertion Proficiency Exercise Tracing Exercise Linked list insert interactive proficiency exercise. Users click on values in a linked list display to show how insertion takes... OpenDSA Linked List
173 Linked List Remove Proficiency Exercise Tracing Exercise Linked list remove interactive proficiency exercise. Users click on values in a linked list display to show how remove takes... OpenDSA Linked List
174 Linked List Summary Questions Question, Battery Self-practice questions about linked list costs. OpenDSA Linked List
175 Freelist Slideshow Algorithm Visualization Slideshow presenting the concept of using a freelist instead of a system memory manager. OpenDSA Linked List
176 Bad Linked List Representation Slideshow Presentation Slideshow demonstrating a bad representation for the current node in a linked list. OpenDSA Linked List
177 Linked List Deletion Problem Slideshow Presentation Slideshow demonstrating why a naive representation for the current node in a linked list leads to problems on deletion. OpenDSA Linked List
178 Linked List Constructors Slideshow Code Tracing Presentation Slideshow presenting the constructors for a linked list implementation. OpenDSA Linked List
179 Linked List Insertion Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating insertion into a linked list. OpenDSA Linked List
180 Linked List Miscillaneous Methods Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating some miscillaneous methods for a linked list implementation. OpenDSA Linked List
181 Linked List Remove Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating removing from a linked list. OpenDSA Linked List
182 Linked List Insertion Special Case Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating some special cases related to insertion into a linked list. OpenDSA Linked List
183 Linked List Data Members Slideshow Code Tracing Presentation Slideshow presenting the data members for a linked list implementation. OpenDSA Linked List
184 Lazy Lists Algorithm Visualization Slideshow illustrating the lazy list from operation. OpenDSA Parameter Passing, Lazy List
185 Lazy Lists Map Operation Algorithm Visualization Slideshow illustrating the map operation for a lazy list. OpenDSA Parameter Passing, Lazy List
186 Lazy Lists Filter Operation Algorithm Visualization Slideshow illustrating the filter operation for a lazy list. OpenDSA Parameter Passing, Lazy List
187 Lazy Lists Drop Operation Algorithm Visualization Slideshow illustrating the drop operation for a lazy list. OpenDSA Parameter Passing, Lazy List
188 Lazy Lists Iterates Operation Algorithm Visualization Slideshow illustrating the iterates operation for a lazy list. OpenDSA Parameter Passing, Lazy List
189 Lazy Lists Eager Evaluation Algorithm Visualization Slideshow illustrating the concept of eager evaluation for a lazy list. OpenDSA Parameter Passing, Lazy List
190 Lazy Lists Lazy Evaluation Algorithm Visualization Slideshow illustrating the concept of lazy evaluation for a lazy list. OpenDSA Parameter Passing, Lazy List
191 Skip List Insert Slideshow Algorithm Visualization Slideshow showing examples of insertion into a Skip List. OpenDSA Skip List, Randomized Algorithm
192 Skip List Introduction Slideshow Algorithm Visualization Slideshow showing an idealized version of the Skip List as an introduction to the concepts. OpenDSA Skip List
193 Skip List Delete Slideshow Algorithm Visualization Slideshow showing examples of deletion from a Skip List. OpenDSA Skip List, Randomized Algorithm
194 Updating Two-Dimensional List Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, updates the... PCEX 2d list, classes, data structures, list, stacks, value vs reference
195 Printing Table of Medal Counts with Row/Column Total Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... PCEX 2d list, for loop, list
196 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 list, classes, data structures, for loop, list, stacks
197 Updating Two-Dimensional List (Case 2) Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, updates the... PCEX 2d list, list, value vs reference
198 Updating Two-Dimensional List (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 list, value vs reference
199 Printing Table of Medal Counts with Row/Column Total Assume that we have a 7x4 matrix that stores the number of medals that seven countries won in the skating... PCEX 2d list, for loop
200 Processing the Results of a Soda Survey (Case 2) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list
201 Processing the Results of a Soda Survey (Case 3) Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list
202 q_java_q_py_dlinkedlist1 Java PredictingFinalResult for demonstrating q_java_q_py_dlinkedlist1 QuizJET linked list
203 q_java_q_py_slinkedlist1 Java PredictingFinalResult for demonstrating q_java_q_py_slinkedlist1 QuizJET linked list
204 Practicar iterar sobre una lista y usar módulo Construye un programa que recorra una lista de numeros e imprima si son pares o impares. jsParsons for loop, list
205 Construct a function that traverse a linked list Construct a function that prints all elements of a Doubly Linked List in forwards and then reverse order.
DoublyLinkedList class implementation...
jsParsons doubly linked list, linked list
206 Doubly Linked List Python CodeVisualization for demonstrating Doubly Linked List JSVEE doubly linked list, linked list
207 Doubly Linked List Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... PCEX doubly linked list, linked list
208 Double linked list 1 Python PredictingFinalResult for demonstrating Double linked list 1 QuizPET doubly linked list, linked list, list
209 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
210 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
211 Array-Based List Review Questions Question, Battery Array-based list battery of self-assessment questions. OpenDSA Array-Based List
212 Array-based List Append Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating the array-based list append operation. OpenDSA Array-Based List
213 Array-based List Insertion Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating array-based list insertion. OpenDSA Array-Based List
214 Array-based List Introduction Slideshow Presentation Slideshow presenting the array-based list implementation. OpenDSA Array-Based List
215 Array-based List Remove Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow demonstrating array-based list remove. OpenDSA Array-Based List
216 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
217 Doubly Linked List Append Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow presenting appending to a doubly linked list. OpenDSA Doubly Linked List
218 Doubly Linked List Insert Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow presenting insertion into a doubly linked list. OpenDSA Doubly Linked List
219 Doubly Linked List Prev Method Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow showing how to move to the previous element in a doubly linked list. OpenDSA Doubly Linked List
220 Doubly Linked List Remove Slideshow Algorithm Visualization, Code Tracing Presentation Slideshow presenting removing from a doubly linked list. OpenDSA Doubly Linked List
221 Creating a List of Words from File(s) Construct a program that reads a text file and creates a list of the words that the file contains, ignoring... PCEX arraylist, file i/o, list
222 Rotating the List Values Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX algorithm analysis, classes, data structures, list, stacks
223 Searching Values of a List in Another List Construct a program that has a function that receives two lists and prints the values in the 2nd list that... PCEX classes, data structures, list, search algorithms, stacks
224 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
225 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
226 Run lengths Code Completion A run is a sequence of adjacent repeated values. For example, the array with elements CodeCheck Arrays and Array Lists
227 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
228 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
229 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
230 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
231 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
232 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
233 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
234 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
235 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
236 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
237 From Operation Algorithm Visualization Slideshow illustrating the concept of a lazy list. OpenDSA Parameter Passing, Lazy List
238 ArrayList Demo Java CodeVisualization for demonstrating ArrayList Demo JSVEE arraylist, list
239 For-Each with ArrayList Java CodeVisualization for demonstrating For-Each with ArrayList JSVEE arraylist, list
240 Function Pass Python CodeVisualization for demonstrating Function Pass JSVEE functions, list
241 Partition Python CodeVisualization for demonstrating Partition JSVEE algorithm analysis, list, nested loops
242 Functions pass Python PredictingFinalResult for demonstrating Functions pass QuizPET functions, list
243 Creating a Chain of Links Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of chaining link nodes to form a linked list. OpenDSA Link Node, Linked List
244 Using Posets for a Lower Bounds Proof Presentation Slideshow showing the use of posets in a proof of the lower bound for search in an unsorted list. OpenDSA Poset, Search in Unsorted Lists
245 ArrayList 1 Java PredictingFinalResult for demonstrating ArrayList 1 QuizJET arraylist, linked list, list
246 ArrayList 3 Java PredictingFinalResult for demonstrating ArrayList 3 QuizJET arraylist, list
247 ArrayList 4 Java PredictingFinalResult for demonstrating ArrayList 4 QuizJET arraylist, list
248 Find Max Python CodeVisualization for demonstrating Find Max JSVEE classes, data structures, json, list, stacks
249 List values and references. Construct a function that add k values to the given list. The added values is k's increment (increment by 1)... jsParsons value vs reference
250 List to Dictionary Construct a program that prints out moo and oink, in that order. jsParsons classes, data structures, dictionaries, dictionary, stacks
251 list reference (int) Python PredictingFinalResult for demonstrating list reference (int) QuizPET aliasing, value vs reference
252 list reference (string) Python PredictingFinalResult for demonstrating list reference (string) QuizPET aliasing, value vs reference
253 Lists and ArrayList Class Review Quiz Question, Battery Introduction to lists and the ArrayList class for CS1 review questions. OpenDSA ArrayList Class
254 Linked List Implementation - 1 Python CodeConstruction&CompletionBundle for demonstrating Linked List Implementation - 1 PCEX
255 Linked List Implementation In this example, we will define a linked list and create functions to add a new element to the end... PCEX
256 Linked List Operations - Size 1 In this example, we will learn how to create more functions inside a linked list PCEX
257 Linked List Operations - Size 2 In this example, we will learn how to create more functions inside a linked list PCEX
258 Linked List Implementation - 2 Python CodeConstruction&CompletionBundle for demonstrating Linked List Implementation - 2 PCEX
259 Linked List Implementation In this example, we will define a linked list and create functions to add a new element to the end... PCEX
260 Linked List Operations - Contains In this example, we will implement the contains() method that accepts a value and returns True if the value is... PCEX
261 Linked List 1 Java BehaviorExample for demonstrating Linked List 1 AnnEx
262 Passing Lists Challenge Construct a program that convert Celsius temperature values in a list to Fahrenheit temperature values PCEX
263 Reference List 1 Python PredictingFinalResult for demonstrating Reference List 1 QuizPET aliasing, value vs reference
264 Recursive List Processing 1 Question A question related to list processing in a functional programming language. OpenDSA Functional Programming
265 Recursive List Processing 2 Question A question related to list processing in a functional programming language. OpenDSA Functional Programming
266 Recursive List Processing 3 Question A question related to list processing in a functional programming language. OpenDSA Functional Programming
267 ISD::ListTest.java Java BehaviorExample for demonstrating ISD::ListTest.java AnnEx
268 Creating a List of Words from a File Construct a program that reads a text file and creates a list of the words that the file contains, ignoring... PCEX file i/o
269 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 file i/o
270 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
271 Add to list Construct a function that adds a given amount to all items in a list. jsParsons aliasing, value vs reference
272 Reorganize the list Construct a program which partition the original list of integers such that all even numbers come first and all odd... jsParsons
273 Reorganize the list Construct a function which partition the original list of integers such that all even numbers come first and all odd... jsParsons
274 Reorganize the list Construct a function which partition the list of integers given as a parameter such that all even numbers come first... jsParsons
275 Reorganize the list Construct a program which partition the original list of integers such that all even numbers come first and all odd... jsParsons
276 Reverse the list Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. jsParsons value vs reference
277 Reverse the list Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. jsParsons value vs reference
278 Reverse the list Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. jsParsons value vs reference
279 Reverse the list Construct a program which creates a new list that is reverse of list [1, 2, 3, 4, 5]. jsParsons
280 Reverse the list Construct a program which creates a new list that is the reverse of the orginal list. jsParsons
281 Remove dublicates from the list Construct a function which creates a new list where it stores all elements except the duplicates from the list given... jsParsons
282 Remove dublicates from the list Construct a program which creates a new list where it stores all elements except the duplicates from the original list.... jsParsons
283 Doubly Linked List Challenge Create the necessary classes for a Doubly Linked List, containing the method insert_at_start(data) to add a new item to the... PCEX
284 Search in the linked list. Challenge When using a LinkedList, it is possible that you may want to search through the list to see if a... PCEX search algorithms
285 Singly Linked List Challenge Create the necessary classes for a Singly Linked List, containing the method add(item) to add a new item to the... PCEX
286 q_py_list_access2_es Python PredictingFinalResult for demonstrating q_py_list_access2_es QuizPET
287 q_py_list_except1_es Python PredictingFinalResult for demonstrating q_py_list_except1_es QuizPET exceptions
288 q_py_list_remove1_es Python PredictingFinalResult for demonstrating q_py_list_remove1_es QuizPET
289 Finding elements in a list Python BehaviorExample for demonstrating Finding elements in a list WebEx search algorithms
290 Radix Sort Visualization: Linked List Implementation Algorithm Visualization, User Supplied Data Algorithm Visualization for Radix Sort, implemented using linked lists. User can select data for the visualization. OpenDSA Radix Sort
291 Functional Programming List Processing: Summation Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: Summation of list values. OpenDSA Functional Programming
292 Functional Programming List Processing: isMember Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: isMember function. OpenDSA Functional Programming
293 Functional Programming List Processing: Substitution Algorithm Visualization, Code Tracing Presentation Slideshow visualizing basic list processing in a functional programming language: substitution function. OpenDSA Functional Programming
294 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
295 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
296 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
297 Rotate linked list by manipulating nodes Code Completion Your task is to add a rotate method to the LinkedList class of Section 15.2 that rotates the elements of... CodeCheck Linear Data Structures
298 Reorganizar la lista Construye una funcion que divida la lista original de enteros de manera que todos los numeros pares vengan primero y... jsParsons
299 Reorganizar la lista Construye un programa que divida la lista original de enteros de manera que todos los numeros pares vengan primero y... jsParsons
300 Iterar sobre una lista Construye un programa que imprima todos los animales en la variable zoologico. jsParsons
301 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista original. jsParsons
302 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista original. jsParsons
303 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista original. jsParsons
304 Invertir la lista Construye un programa que cree una nueva lista que sea la inversa de la lista original. jsParsons
305 Convertir una lista de tuplas en un diccionario Construye un programa que imprima mu y oink, en ese orden. jsParsons dictionaries
306 Eliminar duplicados de una lista Construye un programa que cree una nueva lista donde se almacenen todos los elementos excepto los duplicados de la lista... jsParsons
307 q_py_add_two_lists1_es Python PredictingFinalResult for demonstrating q_py_add_two_lists1_es QuizPET
308 References with Lists Python BehaviorExample for demonstrating References with Lists WebEx value vs reference
309 References with Lists Python BehaviorExample for demonstrating References with Lists WebEx value vs reference
310 Updating elements to the new list Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... jsParsons search algorithms
311 Updating required elements to the new list Construct a program which finds even numbers from the original list, calculates the square of each such number and adds... jsParsons search algorithms
312 Updating the elements to the new list Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... jsParsons search algorithms
313 Updating the elements to the new list Construct a function which finds even numbers from the list given as a parameter, calculates the square of each such... jsParsons
314 Updating required elements to the new list Construct a program which finds even numbers from the original list, calculates the square of each such number and adds... jsParsons
315 Updating required elements to the new list Construct a program which finds even numbers from the original list, calculates the square of each such number and adds... jsParsons
316 Construct a function that returns a list of remainders from the input. Construct a function which calculates the remainder of each element of the first list and the element with the same... jsParsons
317 Construct a function that returns a list of remainders from the input. Construct a program which calculates the remainder of each element of the first list and the element with the same... jsParsons
318 Construir un programa que trabaje con listas Construye un programa que imprima [[0, 1, 2], [3, 4, 5], [6, 7, 99]] jsParsons
319 Practicar indexación y modificación de listas Construye una funcion que agregue una cantidad dada a todos los elementos de una lista. jsParsons
320 Actualizar los elementos en una nueva lista Construye una funcion que encuentre los numeros pares en la lista dada como parametro, calcule el cuadrado de cada uno... jsParsons
321 Actualizar elementos necesarios en una nueva lista Construye un programa que encuentre los numeros pares en la lista original, calcule el cuadrado de cada uno de esos... jsParsons
322 Construir una función que recorra una lista enlazada Construye una funcion que imprima todos los elementos de una Lista Doblemente Enlazada hacia adelante y luego en orden inverso.
La...
jsParsons
323 Construir una función que devuelva una lista de restos (módulos) del valor de entrada Construye un programa que calcule el residuo de cada elemento de la primera lista con el elemento del mismo indice... jsParsons functions
324 Remove all but first two elements from linked list Code Completion Write a method that removes all but the first two elements from a linked list, using an iterator. You may... CodeCheck Linear Data Structures
325 Add an element to the front and back of a linked list Code Completion Implement a method that adds an element to the beginning of a linked list and another at the end. CodeCheck Linear Data Structures
326 Construir una función que verifique el tamaño de una lista enlazada Construye una funcion que calcule el numero de elementos en una lista simplemente enlazada.
La implementacion de la clase ListaEnlazada se...
jsParsons
327 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
328 Given strings s and t, return a list of all positions in which t occurs in s. Code Completion Given strings s and t, return a list of all positions in which t occurs in s. CodeCheck Strings, Finding Substrings
329 Given strings s and t, return a list of all positions in which t occurs in s. Code Completion Given strings s and t, return a list of all positions in which t occurs in s. CodeCheck Strings, Finding Substrings
330 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
331 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
332 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
333 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
334 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
335 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
336 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
337 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
338 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
339 JSON Aggregate 1 You're provided a list of used cars in json list format. Find the the car by minimizing the cost. jsParsons json, json-aggregate
340 JSON Aggregate 2 You're provided a list of laptops in JSON list format. Find the best laptop by minimizing the price and maximizing... jsParsons json, json-aggregate
341 JSON Aggregate 4 You're provided a list of aircrafts and helicopter, with manufacturer information, date of manufacture and other information. Count the flights... jsParsons json, json-aggregate
342 JSON Aggregate 5 You're provided a list of aircrafts and helicopter, with manufacturer information, date of manufacture and other information. Find the minimum... jsParsons json, json-aggregate
343 JSON Conditions 2 You're provided a list of aircrafts and helicopter. Shortlist the flights used in military. jsParsons json, json-conditions
344 JSON Iterate 1 Using JSON structure list all flights and their destinations jsParsons json, json-iterate
345 JSON Iterate 2 Using JSON structure list codes for first three flights jsParsons json, json-iterate
346 Functional Programming Recursion: Summing Elements in a Tree Algorithm Visualization, Code Tracing Presentation Slideshow visualizing list-of-list (tree) processing in a functional programming language: sum all values. OpenDSA Functional Programming
347 Functional Programming Recursion: BST Algorithm Visualization, Code Tracing Presentation Slideshow visualizing list-of-list (tree) processing in a functional programming language: Binary Search Tree Search. OpenDSA Functional Programming
348 Creating a Dictionary of Student-Scores Pairs Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... PCEX dictionaries, dictionary
349 Creating a Dictionary of Student-Scores Pairs Assume we have a list of students and a list of their corresponding test scores. Construct a program that has... PCEX dictionaries, dictionary
350 Creando un Diccionario de Pares Estudiante-Puntajes (Caso 1) Supongamos que tenemos una lista de estudiantes y una lista de sus correspondientes puntajes de exámenes. Construya un programa que... PCEX dictionaries
351 Creando un Diccionario de Pares Estudiante-Puntajes (Caso 2) Supongamos que tenemos una lista de estudiantes y una lista de sus correspondientes puntajes de exámenes. Construya un programa que... PCEX dictionaries
352 (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
353 Odd or Even Construct a program that goes through a list of numbers and prints out whether they are odd or even. jsParsons algorithm analysis, for loop, loops
354 JSON Conditions 1 you're provided information for a list of flights that go to and from New York, Pittsburgh and Miami. You have... jsParsons json, json-conditions
355 JSON Conditionals 2 You're provide a JSON list of different books, find the ones with greater than 300 pages. PCEX json, json-conditions
356 JSON Conditionals 2 Challenge You're provide a JSON list of different books, find non-fiction books with rating greater than 4.5 PCEX json
357 Sort real data Code Completion Your task is to sort an array list of path names such as CodeCheck Sorting and Searching
358 (While loops) While Loops Ex 1 - CSEdPad Loop with simple loop variable increment: Assume you have a list of 1,000 people in alphabetical order and you are... AnnEx while loop
359 String join Construct a program that prints out a sentence from a given list of words. jsParsons strings
360 Link Nodes: Iteration Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of iterating through a linked list. OpenDSA Link Node, Iteration
361 Link Nodes: Delete Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of deleting from a linked list. OpenDSA Link Node, Iteration
362 Concatenate elements backwards Code Completion Your task is to concatenate all elements in a linked list of strings backwards, starting at the end of the... CodeCheck Linear Data Structures
363 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
364 Practicing searching the index of the min element Construct a program that finds the index of the minimum element in a list. num_list is a test case where... jsParsons recursion, search algorithms, sorting algorithms
365 Link Nodes: Insertion Algorithm Visualization, Code Tracing Presentation Slideshow introducing the concept of inserting a new node into a linked list. OpenDSA Link Node, Iteration
366 Construir una función que ordene un arreglo numérico usando Merge Sort Construye una funcion de mezcla que divida recursivamente un arreglo numerico y tome una lista como parametro llamada datos.
Considera que...
jsParsons
367 Practicar la búsqueda del índice del elemento mínimo Construye un programa que encuentre el indice del elemento minimo en una lista. num_lista es el caso de prueba donde... jsParsons
368 Construct a function that uses Queue Structure Construct a function that uses Queue Structure to solve a Josephus problem that removes the kth element in a given... jsParsons queue
369 Practicing searching the index of the min and max elements Construct a program that finds the indexes of both the max and min elements in a list. num_list is a... jsParsons algorithm analysis, recursion, search algorithms, sorting algorithms
370 Recursive Binary Search Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX recursion, search, search algorithms, sorting
371 Recursive Binary Search Challenge Construct a function that uses recursive binary search to find if a specific value is in a list (known as... PCEX recursion, search algorithms
372 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
373 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
374 Linked Stack Pop Proficiency Exercise Tracing Exercise Linked stack pop proficiency exercise. Users click on values in a linked list display to show how pop takes place. OpenDSA Linked Stack
375 Linked Stack Push Proficiency Exercise Tracing Exercise Linked stack push proficiency exercise. Users click on values in a linked list display to show how push takes place. OpenDSA Linked Stack
376 Creating a Dictionary of Character-Count/Words Pairs Construct a program that has a function which receives a string and creates a dictionary that maps each character to... PCEX dictionaries, dictionary
377 JSON ITERATION 1 Challenge Write the code that prints the names of all restaurants. You're provided with list of restaurants in json format PCEX json
378 Add an element after the first and before the last Code Completion Write a method that adds an element after the first and another before the last element of a nonempty linked... CodeCheck Linear Data Structures
379 Generic replicate method Code Completion Implement the generic replicate method. It should return a list containing multiple copies of the given value. CodeCheck Generic Types
380 Creando un Diccionario de Pares Caracteres-Palabras Construye un programa que tenga una función que reciba un string y cree un diccionario que mapea cada carácter a... PCEX dictionaries
381 Construir una función que use una estructura de cola (Queue) Construye una funcion que use la estructura de Cola para resolver el problema de Josephus que elimina el k-esimo elemento... jsParsons
382 Practicar la búsqueda del índice de los elementos mínimo y máximo Construye un programa que encuentre los indices tanto del elemento maximo como del minimo en una lista. num_lista es el... jsParsons
383 Using Aggegation Code Completion A team has players. Use aggregation to complete the class constructor and the listTeam and addPlayer methods of the Team... CodeCheck Object-Oriented Design
384 Dictionary Keys storage-dictionary stores the amount of certain items in storage. Construct a program that prints out a list of all the... jsParsons classes, data structures, dictionaries, dictionary, stacks
385 Construct a program with multiple if-elif statements Construct a program which checks which of the integers in interval from 1 to 50 is divisible by only 2,... jsParsons
386 Practicing quick sort algorithm Construct a function that implements quick sort algorithm. The partition() function has been pre defined and displayed below.
Consider data is...
jsParsons recursion, search algorithms, sorting, sorting algorithms
387 Construct an inorder traversal function Construct an inorder traversal function that recursively traverse a tree from left node, root node and right node. We store... jsParsons trees
388 Construct a preorder traversal function Construct a preorder traversal function that recursively traverse a tree from root node, left node and right node. We store... jsParsons trees
389 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
390 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
391 Insertion Sort Challenge Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... PCEX
392 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
393 Stack Challenge Implementing Stack. Using Class to construct a Stack. Implement a function to determine if all the given brackets are paired.\nFor... PCEX
394 Practicing Pointers: Links Tracing Exercise Third pointer assignment proficiency exercise. Users click on objects to show how pointers link nodes together into a linked list. OpenDSA Pointer, Object
395 JLinkedListUtil This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... PCEX
396 JLinkedListUtil Challenge This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... PCEX
397 Duplicate short words Code Completion Your task is to duplicate all short words (that is, words with at most 3 characters) in a linked list.... CodeCheck Linear Data Structures
398 Remove short words Code Completion Your task is to remove all short words (that is, words with at most 3 characters) from a linked list. CodeCheck Linear Data Structures
399 Processing exam scores Code Completion Your task is to read a file containing exam scores, and to write another file that contains the results of... CodeCheck Input and Output
400 Construct a program that creates unique 3 digit combination Construct a program which creates and prints all three-digit combinations from numbers 1-4 such that each number appears at most... jsParsons while loop
401 Construct a program that creates unique 3 digit combinations Construct a program which creates and prints all three-digit combinations from numbers 1-4 such that each number appears at most... jsParsons
402 Iterar sobre un diccionario El diccionario almacen almacena la cantidad de ciertos articulos en bodega. Construye un programa que imprima una lista de todos... jsParsons dictionaries
403 Construir un programa con múltiples sentencias if-elif Construye un programa que verifique cuales de los enteros en el intervalo del 1 al 50 son divisibles solo por... jsParsons
404 Practicar el algoritmo de ordenación rápida (Quick Sort) Construye una funcion que implemente el algoritmo de ordenamiento rapido. La funcion de particion() ha sido predefinida y se muestra... jsParsons
405 Construir una función de recorrido inorder (inorden) Construye una funcion de recorrido inorder que recorra recursivamente un arbol desde el nodo izquierdo, nodo raiz y nodo derecho.... jsParsons
406 Liftoff threads Code Completion We want to simulate multiple rocket launches by ACME Rocket Inc. Each launch has a countdown, like this CodeCheck Concurrency
407 Last n Characters Code Completion Write a method that gets the last n characters from a string. For example, last("Hello, World!", 5) should return the... CodeCheck Fundamental Data Types
408 Change Firstname Lastname to Lastname, Firstname Code Completion Fred fills out his time sheet at work, but he needs to provide the number of minutes worked. He only... CodeCheck Fundamental Data Types
409 Swap first and last name Code Completion Write a method getLastFirst whose parameter is a string containing a name such as "Harry Smith" and that returns a... CodeCheck Fundamental Data Types
410 Given an input string, print the string with the first and last letter removed if they were equal, or the original string if they were not. Code Completion Given an input string, print the string with the first and last letter removed if they were equal, or the... CodeCheck Branches, Branches Without Functions
411 Given a string, return the string with the first and last characters swapped. Code Completion Given a string, return the string with the first and last characters swapped. CodeCheck Strings, No Loops
412 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
413 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
414 Given a string, return the string with the first and last characters swapped. Code Completion Given a string, return the string with the first and last characters swapped. CodeCheck Strings, No Loops
415 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
416 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
417 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
418 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
419 Given an input string, print the string with the first and last letter removed if they were equal, or the original string if they were not. Code Completion Given an input string, print the string with the first and last letter removed if they were equal, or the... CodeCheck Branches, Branches Without Functions
420 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
421 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
422 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
423 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
424 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
425 Sort Names Code Completion We consider names of people that consist of first and last names, such as Joe Smith. When you sort names,... CodeCheck Branches
426 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
427 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
428 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
429 Selection sort modification, placing the largest element first 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
430 Modified SelectionSort 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
431 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
432 Accessing String Characters (Case 1) Construct a program that prints the 1st, 9th, and the last character of the string "String Example!". PCEX strings
433 Printing Name in APA Style Construct a program that prints the name "Alice Ann Darcy" following the APA style, i.e., last name first, followed by... PCEX strings
434 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
435 Accessing String Characters Construct a program that prints the 1st, 9th, and the last character of the string "String Example!". PCEX string operations, strings
436 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
437 Printing Name in APA Style Construct a program that prints the name "Alice Ann Darcy" following the APA style, i.e., last name first, followed by... PCEX string operations, strings
438 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
439 Solving Josephus Problem Challenge Construct a program by using Queue structure to solve a Josephus problem. Josephus problem is a counting-out game. N people... PCEX
440 Swap adjacent characters in a RandomAccessFile Code Completion Your task is to swap adjacent letters in a RandomAccessFile. Simply read two bytes, back up by two bytes, and... CodeCheck Advanced Input and Output
441 Check for Valid Answers Code Completion Consider a program that administers multiple-choice quizzes. The student needs to provide a response such as A or D. Your... CodeCheck Branches