Showing 0-0 of 0 results
| # | Exercise Title | Features | Description | Platform | Keywords |
|---|---|---|---|---|---|
| 1 | Else Clause | Else Clause | AnnEx | conditionals, if-else statement | |
| 2 | Converting the Letter Grade of a Student to Its Numeric Range | Construct a program that receives a grade from the user and prints the numeric range for that grade using the... | PCEX | if-else statement | |
| 3 | (If else) Temperature Conversion - CSEdPad | Conversion of temperature from degree Celsius to degree Fahrenheit and vice versa | AnnEx | if-else statement | |
| 4 | if-else-if | if-else-if | AnnEx | boolean expressions, conditionals, if-else statement | |
| 5 | If else nested (Memphis) | Demo of using if with else - this program simulates a bouncer at a club. | AnnEx | if-else statement | |
| 6 | If Else | If Else | AnnEx | boolean expressions, conditionals, if-else statement | |
| 7 | String Comparison | String Comparison | AnnEx | if-else statement | |
| 8 | if-else-if | Java CodeVisualization for demonstrating if-else-if | JSVEE | conditionals, control flow, if-else statement | |
| 9 | If Else | Python CodeVisualization for demonstrating If Else | JSVEE | control flow, if statement, if-else statement | |
| 10 | ae_python_if | Python CodeVisualization for demonstrating ae_python_if | JSVEE | if-else statement | |
| 11 | Discount Calculator | Python CodeVisualization for demonstrating Discount Calculator | JSVEE | if-else statement | |
| 12 | Discount Calculator2 | Python CodeVisualization for demonstrating Discount Calculator2 | JSVEE | if-else statement | |
| 13 | if-else (interest) | Python PredictingFinalResult for demonstrating if-else (interest) | QuizPET | if-else statement | |
| 14 | IF...ELSE Statement 2 | Python BehaviorExample for demonstrating IF...ELSE Statement 2 | WebEx | if statement, if-else statement | |
| 15 | ELIF (ELSE IF) Statement | Python BehaviorExample for demonstrating ELIF (ELSE IF) Statement | WebEx | if statement, if-else statement | |
| 16 | Logical Operators | Python BehaviorExample for demonstrating Logical Operators | WebEx | if-else statement, logical operators | |
| 17 | Single Line IF...ELSE Statement | Python BehaviorExample for demonstrating Single Line IF...ELSE Statement | WebEx | if-else statement | |
| 18 | If..Else statement | Python BehaviorExample for demonstrating If..Else statement | WebEx | conditionals, if-else statement | |
| 19 | IF...ELSE Statement (Multiple Conditions) | Python BehaviorExample for demonstrating IF...ELSE Statement (Multiple Conditions) | WebEx | if-else statement, logical operators | |
| 20 | Maximum of 2 Numbers | Python BehaviorExample for demonstrating Maximum of 2 Numbers | WebEx | if-else statement | |
| 21 | Interest Capital and Interest | Python BehaviorExample for demonstrating Interest Capital and Interest | WebEx | if-else statement | |
| 22 | Conditionals basics | Python BehaviorExample for demonstrating Conditionals basics | WebEx | if-else statement | |
| 23 | Converting the Letter Grade of a Student to It's Numeric Range | Construct a program that receives a grade from the user and prints the numeric range for that grade using the... | PCEX | if-else statement | |
| 24 | The Grade Letter | Construct a program that receives a grade from the user and prints the numeric range for that grade using the... | PCEX | if-else statement | |
| 25 | The Sign of a Number | Construct a program that determines whether an integer is even or odd. | PCEX | if-else statement | |
| 26 | The Wage of an Employee | Construct a program for the payment department of a company to calculate the wage of an employee who works at... | PCEX | if-else statement | |
| 27 | The Min/Max of Three Integers | Construct a program that determines the largest of the three integer values entered by the user. | PCEX | if-else statement | |
| 28 | Warning about the Changes in the Weather Condition | Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... | PCEX | if-else statement | |
| 29 | if-else 1 | Java PredictingFinalResult for demonstrating if-else 1 | QuizJET | boolean expressions, conditionals, if-else statement, strings | |
| 30 | if-else 2 | Java PredictingFinalResult for demonstrating if-else 2 | QuizJET | conditionals, if-else statement | |
| 31 | if-else 3 | Java PredictingFinalResult for demonstrating if-else 3 | QuizJET | conditionals, if-else statement | |
| 32 | if-else 4 | Java PredictingFinalResult for demonstrating if-else 4 | QuizJET | conditionals, if-else statement | |
| 33 | if-else 5 | Java PredictingFinalResult for demonstrating if-else 5 | QuizJET | boolean expressions, conditionals, if-else statement | |
| 34 | If El If Else | Python CodeVisualization for demonstrating If El If Else | JSVEE | algorithm analysis, control flow, if statement, if-else statement | |
| 35 | Complex IF...ELSE Statement | Python BehaviorExample for demonstrating Complex IF...ELSE Statement | WebEx | if statement, if-else statement | |
| 36 | Nested IF...ELSE Statement | Python BehaviorExample for demonstrating Nested IF...ELSE Statement | WebEx | if statement, if-else statement | |
| 37 | Jeroo if-then-else syntax | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 38 | Jeroo add else | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-else-if, else, syntax practice, code writing |
| 39 | Jeroo add else-if | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-else-if, multi-way-if, syntax practice, code writing |
| 40 | Jeroo add else-if-else-if | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-else-if, multi-way-if, syntax practice, code writing |
| 41 | Jeroo if-else-if-else | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-else-if, multi-way-if, syntax practice, code writing |
| 42 | Determining the Letter Grade Of a Student | Construct a program that receives a score from the user and determines the grade as follows:\nA for scores ≥ 90\nB... | PCEX | control flow, if-else statement | |
| 43 | Determining the Sign of an Integer | Construct a program that determines whether an integer is positive, negative, or zero. | PCEX | control flow, if-else statement | |
| 44 | Determining Whether an Integer is Even or Odd | Construct a program that determines whether an integer is even or odd. | PCEX | control flow, if-else statement | |
| 45 | Calculating the Employees Wage Based on the Hours That the Employee Has Worked and an Hourly Pay Rate | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | control flow, if-else statement | |
| 46 | Calculating the Wage of an Employee at the Customer Service Call Center | Construct a program for the payment department of a company to calculate the wage of an employee who works at... | PCEX | control flow, if-else statement | |
| 47 | Determining the Smallest of the Three Integers | Construct a program that determines the smallest of the three integer values entered by the user. | PCEX | control flow, if-else statement | |
| 48 | Warning the User about the Changes in the Temperature | Construct a program that receives the temperature for today and yesterday and warns the user when it is getting colder... | PCEX | control flow, if-else statement | |
| 49 | Warning the User about the Changes in the Temperature and Humidity | Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... | PCEX | control flow, if-else statement | |
| 50 | Decision If | Decision If | AnnEx | boolean expressions, if-else statement | |
| 51 | If with complex condition | If with complex condition | AnnEx | boolean expressions, if-else statement | |
| 52 | If Statement | If Statement | AnnEx | boolean expressions, if-else statement | |
| 53 | Using && | Using && | AnnEx | boolean expressions, if-else statement | |
| 54 | Using || | Using || | AnnEx | boolean expressions, if-else statement | |
| 55 | Logical Operators | Logical Operators | AnnEx | boolean expressions, if-else statement | |
| 56 | Return Bigger or None | Construct a function that returns the bigger value of the given arguments. If a and b are equal, it should... | jsParsons | functions, if-else statement | |
| 57 | nested if | Python PredictingFinalResult for demonstrating nested if | QuizPET | control flow, if-else statement | |
| 58 | Functions Example 1 | Python BehaviorExample for demonstrating Functions Example 1 | WebEx | functions, if-else statement | |
| 59 | If statement | Python BehaviorExample for demonstrating If statement | WebEx | conditionals, if-else statement | |
| 60 | Nested If Statements | Python BehaviorExample for demonstrating Nested If Statements | WebEx | conditionals, if-else statement | |
| 61 | IF Statement | Python BehaviorExample for demonstrating IF Statement | WebEx | if statement, if-else statement | |
| 62 | The Grade Letter | Construct a program that receives a score from the user and determines the grade as follows:\nA for scores ≥ 90\nB... | PCEX | control flow, if-else statement | |
| 63 | The Wage of an Employee | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | control flow, if-else statement | |
| 64 | The Min/Max of Three Integers | Construct a program that determines the smallest of the three integer values entered by the user. | PCEX | control flow, if-else statement | |
| 65 | Warning about the Changes in the Weather Condition | Construct a program that receives the temperature for today and yesterday and warns the user when it is getting colder... | PCEX | control flow, if-else statement | |
| 66 | Determining Whether an Integer is Even or Odd | Construct a program that determines whether an integer is even or odd. | PCEX | control flow, if-else statement | |
| 67 | Calculating the Wage of an Employee at the Customer Service Call Center | Construct a program for the payment department of a company to calculate the wage of an employee who works at... | PCEX | control flow, if-else statement | |
| 68 | Warning the User about the Changes in the Temperature and Humidity | Construct a program that receives the temperature and humidity for today and yesterday and warns the user when it is... | PCEX | control flow, if-else statement | |
| 69 | Determining Whether One is a Teenager | Construct a program that asks the user to enter a string that has the user name and age separated by... | PCEX | exception handling, if-else statement | |
| 70 | Pass-Fail Rule (Case 2) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions, if-else statement | |
| 71 | Pass-Fail Rule (Case 3) | Construct a program that determines whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions, if-else statement | |
| 72 | Hot-Dry Weather (Case 2) | Construct a program that determines whether it is either too hot or too dry (or both) based on the inputs... | PCEX | boolean expressions, if-else statement | |
| 73 | Hot-Dry Weather (Case 3) | Construct a program that determines whether it is too hot but not too dry based on the inputs that it... | PCEX | boolean expressions, if-else statement | |
| 74 | Hot-Dry Weather (Case 4) | Construct a program that determines whether it is either too hot or too dry but not both based on the... | PCEX | boolean expressions, if-else statement | |
| 75 | Buying a New Phone | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | boolean expressions, if-else statement | |
| 76 | Renting a Car (Case 2) | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | boolean expressions, if-else statement | |
| 77 | Renting a Car (Case 3) | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | boolean expressions, if-else statement, while loop | |
| 78 | Three Booleans (Case 2) | Construct a program that determines whether at least one of the three boolean variables is False based on the inputs... | PCEX | boolean expressions, if-else statement | |
| 79 | Three Booleans (Case 3) | Construct a program that receives the value of three boolean variables from the user and determines whether all variables have... | PCEX | boolean expressions, if-else statement | |
| 80 | Shipping Cost | Free Coding Problem, coding problem | Coding Question | CodeWorkout | 1213, if-else, modulus, conditionals, cci, coding problem |
| 81 | Nested if | Nested if | AnnEx | boolean expressions, conditionals, if-else statement | |
| 82 | comparison operators | Java CodeVisualization for demonstrating comparison operators | JSVEE | boolean expressions, control flow, if-else statement | |
| 83 | Nested if | Java CodeVisualization for demonstrating Nested if | JSVEE | conditionals, control flow, if-else statement | |
| 84 | Hiscore 1 | Python CodeVisualization for demonstrating Hiscore 1 | JSVEE | control flow, if statement, if-else statement | |
| 85 | Hiscore 2 | Python CodeVisualization for demonstrating Hiscore 2 | JSVEE | control flow, if statement, if-else statement | |
| 86 | Conditionals Temperature | Construct a program that prints out 'Cold', when the temperature is 15 degrees celcius or below, 'Moderate' when it is... | jsParsons | control flow, if statement, if-else statement | |
| 87 | Modulo is Even | Construct a function that will return True if a given number is even, otherwise false. | jsParsons | algorithm analysis, functions, if-else statement | |
| 88 | XOR | Construct a program that mimics a XOR gate (exclusive or). When input_a and input_b are the same, it should print... | jsParsons | boolean expressions, boolean logic, if-else statement, logical operators | |
| 89 | if-elif | Python PredictingFinalResult for demonstrating if-elif | QuizPET | control flow, if statement, if-else statement | |
| 90 | The Sign of a Number | Construct a program that determines whether an integer is positive, negative, or zero. | PCEX | conditionals, control flow, if-else statement | |
| 91 | Determining Whether One is a Teenager | Construct a program that receives a string that has the user name and age separated by a colon, and prints... | PCEX | exception handling, exceptions, if-else statement | |
| 92 | Pass-Fail Rule | Construct a program to determine whether a student fails the course based on the inputs that it receives from the... | PCEX | boolean expressions, boolean logic, if-else statement, logical operators | |
| 93 | Hot-Dry Weather | Construct a program that determines whether it is both too hot and too dry based on the inputs that it... | PCEX | boolean expressions, boolean logic, if-else statement, logical operators | |
| 94 | The Grade Letter | Construct a program that receives a score from the user and determines the grade as follows:\nA for scores ≥ 90\nB... | PCEX | control flow, if statement, if-else statement | |
| 95 | The Sign of a Number | Construct a program that determines whether an integer is positive, negative, or zero. | PCEX | control flow, if statement, if-else statement | |
| 96 | The Wage of an Employee | Construct a program for the payment department of a company to calculate the wage of an employee based on the... | PCEX | control flow, if statement, if-else statement | |
| 97 | Warning about the Changes in the Weather Condition | Construct a program that receives the temperature for today and yesterday and warns the user when it is getting colder... | PCEX | control flow, if statement, if-else statement | |
| 98 | Buying a New Phone | Construct a program that determines whether it is time to buy a new phone based on the inputs that it... | PCEX | boolean expressions, boolean logic, if-else statement, logical operators | |
| 99 | Renting a Car | Construct a program that determines whether a customer could rent a car based on the inputs that it receives from... | PCEX | boolean expressions, boolean logic, if-else statement, logical operators | |
| 100 | Three Booleans | Construct a program that determines whether at least one of the three boolean variables is True based on the inputs... | PCEX | boolean expressions, boolean logic, if-else statement, logical operators | |
| 101 | Determining the Largest of the Three Integers | Construct a program that determines the largest of the three integer values entered by the user. | PCEX | conditionals, control flow, if-else statement | |
| 102 | Using boolean | Java PredictingFinalResult for demonstrating Using boolean | QuizJET | boolean expressions, control flow, if-else statement | |
| 103 | Boolean Operations (Not) | Java PredictingFinalResult for demonstrating Boolean Operations (Not) | QuizJET | boolean expressions, control flow, if-else statement | |
| 104 | Boolean Operations (Not equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Not equal) | QuizJET | boolean expressions, control flow, if-else statement | |
| 105 | Earthquake | Java PredictingFinalResult for demonstrating Earthquake | QuizJET | conditionals, control flow, if-else statement | |
| 106 | Calculate and Display Average Test Score | Free Coding Problem, coding problem | Coding Question | CodeWorkout | average, conditional, if-else, coding problem |
| 107 | Jeroo turns away | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 108 | Jeroo turns right | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 109 | Jeroo sees water | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then-else, syntax practice, code writing |
| 110 | Codewit Phinease: Doing chores with C++ boolean expressions and do-while loop | Free Coding Problem, code writing | Coding Question | CodeWorkout | do while, if, else if, decisions, loops, boolean expressions, code writing |
| 111 | If Conditions Demo | Java CodeVisualization for demonstrating If Conditions Demo | JSVEE | boolean expressions, conditionals, control flow, if-else statement | |
| 112 | Nested If | Python CodeVisualization for demonstrating Nested If | JSVEE | algorithm analysis, control flow, if statement, if-else statement | |
| 113 | Nested ifs | Construct a program that prints out a sentence depending on the time of day. Night is considered to be before... | jsParsons | algorithm analysis, control flow, if statement, if-else statement | |
| 114 | nested if-elif | Python PredictingFinalResult for demonstrating nested if-elif | QuizPET | algorithm analysis, control flow, if statement, if-else statement | |
| 115 | The Min/Max of Three Integers | Construct a program that determines the smallest of the three integer values entered by the user. | PCEX | algorithm analysis, control flow, if statement, if-else statement, statistics | |
| 116 | Determining Whether One is a Teenager (Case 2) | Construct a program that asks the user to enter a string that has the user name and age separated by... | PCEX | classes, exception handling, exceptions, file i/o, if-else statement, loops, methods, objects | |
| 117 | Boolean Operations (AND) | Java PredictingFinalResult for demonstrating Boolean Operations (AND) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 118 | Boolean Operations (Greater equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Greater equal) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 119 | Boolean Operations (Less equal) | Java PredictingFinalResult for demonstrating Boolean Operations (Less equal) | QuizJET | boolean expressions, conditionals, control flow, if-else statement | |
| 120 | Jeroo just turns | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 121 | Jeroo always hops | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 122 | Jeroo conditional toss | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 123 | Jeroo looks left and right | Free Coding Problem, code writing | Coding Question | CodeWorkout | Jeroo, conditionals, if-then, if-then-else, syntax practice, code writing |
| 124 | IF...ELSE Statement | Python BehaviorExample for demonstrating IF...ELSE Statement | WebEx | if statement | |
| 125 | DEPRECATED_if-else | Java BehaviorExample for demonstrating DEPRECATED_if-else | AnnEx | ||
| 126 | DEPRECATED_If Else | Java BehaviorExample for demonstrating DEPRECATED_If Else | AnnEx | ||
| 127 | Practicar sentencias if...elif...else | Construye un programa que imprima 'Frio' cuando la temperatura sea de 15 grados centigrados o menos, 'Moderado' cuando sea mayor... | jsParsons | conditionals | |
| 128 | Nested IF...ELSE Statement 2 | Python BehaviorExample for demonstrating Nested IF...ELSE Statement 2 | WebEx | if statement | |
| 129 | Single Line If...Else Statement | Python BehaviorExample for demonstrating Single Line If...Else Statement | WebEx | conditionals | |
| 130 | Lambda Calculus: If-Then-Else in Church Encoding | Question | Question related to if-then-else in Church encoding in the Lambda Calculus. | OpenDSA | Lambda Calculus |
| 131 | q_py_interest_if_else1_es | Python PredictingFinalResult for demonstrating q_py_interest_if_else1_es | QuizPET | conditionals | |
| 132 | Conditional statements: Working with If-Then-Else Statements | Question, Battery | Conditional Statement self-assessment questions: Working with if-then-else statements. | OpenDSA | Conditional Statement |
| 133 | Given a string s, return the longest prefix that is repeated somewhere else in the string. | Code Completion | Given a string s, return the longest prefix that is repeated somewhere else in the string. | CodeCheck | Strings, Finding Substrings |
| 134 | Given a string s, return the longest prefix that is repeated somewhere else in the string. | Code Completion | Given a string s, return the longest prefix that is repeated somewhere else in the string. | CodeCheck | Strings, Finding Substrings |
| 135 | Conditional statements: Working with If-Then Statements 2 | Question, Battery | Conditional Statement self-assessment questions: Working with if-then-else statements second quiz. | OpenDSA | Conditional Statement |
| 136 | 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 |
| 137 | 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 |
| 138 | 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 |
| 139 | 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 |
| 140 | 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 |
| 141 | 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 |
| 142 | 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 |
| 143 | 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 |
| 144 | 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 |
| 145 | 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 |
| 146 | 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 |
| 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 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 |
| 149 | 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 |
| 150 | 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 |
| 151 | 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 |
| 152 | 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 |
| 153 | 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 |
| 154 | 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 |
| 155 | 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 |
| 156 | Given an array of integers and a value, fill an array with all positions of the value in the array. | Code Completion | Given an array of integers and a value, fill an array with all positions of the value in the array. | CodeCheck | Arrays - Simple Exercises, Finding Elements |
| 157 | Given an array of integers and a value, return the position of the element that is closest to the value. | Code Completion | Given an array of integers and a value, return the position of the element that is closest to the value.... | CodeCheck | Arrays - Simple Exercises, Finding Elements |
| 158 | Given two arrays of integers of the same length, return the first position where their elements are the same. | Code Completion | Given two arrays of integers of the same length, return the first position where their elements are the same. | CodeCheck | Arrays - Simple Exercises, Finding Elements |
| 159 | Given two arrays of integers of the same length, return the first position where their elements differ. | Code Completion | Given two arrays of integers of the same length, return the first position where their elements differ. | CodeCheck | Arrays - Simple Exercises, Finding Elements |
| 160 | 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 |
| 161 | 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 |
| 162 | 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 |
| 163 | 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 |
| 164 | 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 |
| 165 | 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 |
| 166 | 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 |
| 167 | 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 |
| 168 | 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 |
| 169 | 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 |
| 170 | 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 |
| 171 | Given a list of integers and an integer n, remove all elementts > n or < -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 |
| 172 | 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 |
| 173 | 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 |
| 174 | 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 |
| 175 | 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 |
| 176 | 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 |
| 177 | Given an array of integers and an integer n, remove all elementts > n or < -n. | Code Completion | Given an array of integers and an integer n, remove all elementts > n or < -n. Shift all remaining... | CodeCheck | Arrays - Simple Exercises, Moving or Removing Elements |
| 178 | Given an array of integers, move all zeroes to the front. | Code Completion | Given an array of integers, move all zeroes to the front. | CodeCheck | Arrays - Simple Exercises, Moving or Removing Elements |
| 179 | Given an array of integers, move all negative numbers to the front and all positive numbers to the back, keeping their relative order. | Code Completion | Given an array of integers, move all negative numbers to the front and all positive numbers to the back, keeping... | CodeCheck | Arrays - Simple Exercises, Moving or Removing Elements |
| 180 | Given an array of integers, remove all even elements that occur exactly twice. | Code Completion | Given an array of integers, remove all even elements that occur exactly twice. | CodeCheck | Arrays - Simple Exercises, Moving or Removing Elements |
| 181 | Given an array of integers, remove all adjacent duplicates. | Code Completion | Given an array of integers, remove all adjacent duplicates. | CodeCheck | Arrays - Simple Exercises, Moving or Removing Elements |
| 182 | Given an array of integers, move all zeroes to the back. | Code Completion | Given an array of integers, move all zeroes to the back. | CodeCheck | Arrays - Simple Exercises, Moving or Removing Elements |
| 183 | Element in Array if Exists | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, Java, cci, coding problem |
| 184 | Element in ArrayList | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, cci, 2214, coding problem |
| 185 | c_elementi_ispod_glavne_dijagonale | Napisati program koji postavlja sve elemente ispod glavne dijagonale na 0, a zatim ispisuje matricu na ekran. | PCEX | ||
| 186 | 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 | |
| 187 | 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 | |
| 188 | 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 | |
| 189 | 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 | |
| 190 | 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 | ||
| 191 | Finding elements in a list | Python BehaviorExample for demonstrating Finding elements in a list | WebEx | search algorithms | |
| 192 | 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 |
| 193 | Sum elements in the array | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 194 | Sum elements after a negative in the array | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 195 | Updating an Element in the Array (Case 1) | Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... | PCEX | arrays | |
| 196 | Updating an Element in the Array (Case 2) | Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,... | PCEX | arrays | |
| 197 | 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 | |
| 198 | Printing Common Elements in Two Arrays | Construct a program that has a method that receives two arrays and prints the values in the 2nd array that... | PCEX | arrays | |
| 199 | Operacije nad elementima matrice | C CodeConstruction&CompletionBundle for demonstrating Operacije nad elementima matrice | PCEX | ||
| 200 | c_zbir_elemenata_u_redovima | Napisati program koji ispisuje zbir elemenata u svakom redu matrice. | PCEX | ||
| 201 | c_zbir_elemenata_u_kolonama | Napisati program koji ispisuje zbir elemenata u svakoj koloni matrice. | PCEX | ||
| 202 | c_max_elementi_kolona | Napisati program koji za svaku kolonu ispisuje najveći element koji se nalazi u njoj. | PCEX | ||
| 203 | Queue Class - Check if Element Exists | In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... | PCEX | ||
| 204 | Queue Class - Check if Element Exists | In this example, you will use Queue class from queue provided by python. This class contains methods for adding a... | PCEX | ||
| 205 | c_proizvod_elemenata_na_dijagonalama | Napisati program koji ispisuje proizvod svih elemenata na glavnoj i sporednoj dijagonali matrice dimenzija 4x4. | PCEX | ||
| 206 | c_proizvod_elemenata_na_dijagonalama_neparan | Napisati program koji ispisuje proizvod svih elemenata na glavnoj i sporednoj dijagonali matrice dimenzija 5x5. | PCEX | ||
| 207 | Unos i prebacivanje elemenata niza | C CodeConstruction&CompletionBundle for demonstrating Unos i prebacivanje elemenata niza | PCEX | ||
| 208 | For omitting elements | For omitting elements | AnnEx | for loop, nested loops | |
| 209 | Iterar sobre elementos (items) de un diccionario | Construye un programa que imprima todos los circulos que son mayores que 5. | jsParsons | dictionaries | |
| 210 | 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 | |
| 211 | 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 | |
| 212 | 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 | ||
| 213 | 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 | ||
| 214 | 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 | |
| 215 | 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 | ||
| 216 | 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 | ||
| 217 | Accessing Dictionary Elements | Python BehaviorExample for demonstrating Accessing Dictionary Elements | WebEx | dictionary, json | |
| 218 | Adding and Modifying Dictionary Elements | Python BehaviorExample for demonstrating Adding and Modifying Dictionary Elements | WebEx | dictionaries, dictionary, json | |
| 219 | Replacing list elements | Python BehaviorExample for demonstrating Replacing list elements | WebEx | list | |
| 220 | Removing list elements | Python BehaviorExample for demonstrating Removing list elements | WebEx | list | |
| 221 | Accessing Dictionary Elements | Python BehaviorExample for demonstrating Accessing Dictionary Elements | WebEx | dictionaries | |
| 222 | Updating Dictionary Elements | Python BehaviorExample for demonstrating Updating Dictionary Elements | WebEx | ||
| 223 | 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 |
| 224 | 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 |
| 225 | Updating an Element in the Array | Construct a program that initializes an array with three integers, changes the first element in the array, and finally, prints... | PCEX | arrays | |
| 226 | Updating an Element in the 2D Array | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | 2d arrays, arrays | |
| 227 | 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 | |
| 228 | Updating an Element in the Array (Case 2) | Construct a program that initializes an array with five floating-point numbers, changes the second element in the array, and finally,... | PCEX | arrays | |
| 229 | 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 | |
| 230 | 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 | |
| 231 | 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 | |
| 232 | 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 |
| 233 | 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 |
| 234 | 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 |
| 235 | Given an array of element, find the shortest distance between two consecutive elements. | Code Completion | Given an array of element, find the shortest distance between two consecutive elements. | CodeCheck | Arrays - Simple Exercises, Maximum and Minimum |
| 236 | Get nth element in array | Free Coding Problem, coding problem | Coding Question | CodeWorkout | array, Java, cci, coding problem |
| 237 | Set Last Element | Free Coding Problem, code writing | Coding Question | CodeWorkout | CS1114, array, Java, multi, dimensional, set, code writing |
| 238 | Are all elements positive? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 239 | Are all elements negative? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 240 | Are all elements even? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 241 | Are all elements odd? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 242 | Are all elements greater than x? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 243 | Are all elements less than x? | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 244 | Sum all the positive elements in the array | Free Coding Problem, code writing | Coding Question | CodeWorkout | array, logic, conditionals, if, code writing |
| 245 | Printing the Total Number of Times Elements of One Array Appear in Another Array | Construct a program that has a method that receives two arrays and prints the total number of times the elements... | PCEX | arrays | |
| 246 | 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 | |
| 247 | 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 | ||
| 248 | 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 | ||
| 249 | 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 |
| 250 | 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 |
| 251 | An enum type describing chemical elements | Code Completion | Enumerated types in Java are quite powerful, in that they can contain methods and instance variables. An enum type class... | CodeCheck | Inheritance |
| 252 | Creating an array that Contains the Numbers of Times Each Element of One Array Appears in Another Array | Construct a program that has a function that receives two arrays and creates an array that contains the number of... | PCEX | arrays | |
| 253 | Practising reading a file and printing the third element in each line of the file | Construct a program that opens up a file and prints out the third element in each line of the file | jsParsons | exception handling, file i/o | |
| 254 | Practicar la lectura de archivos e imprimir el tercer elemento de cada línea | Construye un programa que abra un archivo y muestre el tercer elemento de cada linea del archivo | jsParsons | file i/o | |
| 255 | 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 | |
| 256 | 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 |
| 257 | 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 |
| 258 | Given an array of integers, replace each element with the average of its neighbors. | Code Completion | Given an array of integers, replace each element with the average of its neighbors. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 259 | 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 |
| 260 | Given two arrays a and b, remove all elements of b from a. | Code Completion | Given two arrays a and b, remove all elements of b from a. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 261 | Given a two-dimensional array of integers, return the average of the four corner elements. | Code Completion | Given a two-dimensional array of integers, return the average of the four corner elements. | CodeCheck | Two-Dimensional Arrays, No Loops |
| 262 | Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even. | Code Completion | Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 263 | 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 |
| 264 | 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 |
| 265 | Given a two-dimensional array of integers, return the number of distinct elements. | Code Completion | Given a two-dimensional array of integers, return the number of distinct elements. | CodeCheck | Two-Dimensional Arrays, Complex Loops |
| 266 | 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 |
| 267 | 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 |
| 268 | 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 |
| 269 | 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 |
| 270 | Given a two-dimensional array of integers, compute the sum of all positive elements. | Code Completion | Given a two-dimensional array of integers, compute the sum of all positive elements. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 271 | Given a two-dimensional array of integers, return the largest element in the array. | Code Completion | Given a two-dimensional array of integers, return the largest element in the array. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 272 | 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 |
| 273 | Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. | Code Completion | Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 274 | Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the diagonals. | Code Completion | Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the... | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 275 | Given a two-dimensional array of integers, replace all negative elements with zero. | Code Completion | Given a two-dimensional array of integers, replace all negative elements with zero. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 276 | 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 |
| 277 | 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 |
| 278 | Given a two-dimensional array of integers and a row index, return the largest element in that row. | Code Completion | Given a two-dimensional array of integers and a row index, return the largest element in that row. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 279 | Given a two-dimensional array of integers and a column index, return the smallest element in that column. | Code Completion | Given a two-dimensional array of integers and a column index, return the smallest element in that column. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 280 | Given a two-dimensional array of integers, return the sum of all elements along the north and south border. | Code Completion | Given a two-dimensional array of integers, return the sum of all elements along the north and south border. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 281 | Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. | Code Completion | Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 282 | Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. | Code Completion | Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 283 | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. | Code Completion | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 284 | 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 |
| 285 | 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 |
| 286 | 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 |
| 287 | 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 |
| 288 | 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 |
| 289 | 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 |
| 290 | 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 |
| 291 | 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 |
| 292 | 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 |
| 293 | 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 |
| 294 | 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 |
| 295 | 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 |
| 296 | 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 |
| 297 | 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 |
| 298 | Given a two-dimensional array of integers, return an array of the number of negative elements in each column. | Code Completion | Given a two-dimensional array of integers, return an array of the number of negative elements in each column. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 299 | Given a two-dimensional array of integers, compute the sum of all positive elements. | Code Completion | Given a two-dimensional array of integers, compute the sum of all positive elements. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 300 | Given a two-dimensional array of integers, return the position of the smallest element in the array as an array of length 2. | Code Completion | Given a two-dimensional array of integers, return the position of the smallest element in the array as an array of... | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 301 | Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the diagonals. | Code Completion | Given a two-dimensional square array of integers, compute the sum of all elements that are not on one of the... | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 302 | Given a two-dimensional array of integers, replace all negative elements with zero. | Code Completion | Given a two-dimensional array of integers, replace all negative elements with zero. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 303 | Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. | Code Completion | Given a two-dimensional array of integers, compute the sum of all elements that are not one of the borders. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 304 | Given a two-dimensional array of integers, return the largest element in the array. | Code Completion | Given a two-dimensional array of integers, return the largest element in the array. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 305 | Given a two-dimensional array of integers, return an array of the largest element in each row. | Code Completion | Given a two-dimensional array of integers, return an array of the largest element in each row. | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 306 | Given an array of integers, return the position of the first occurrence of the largest element. | Code Completion | Given an array of integers, return the position of the first occurrence of the largest element. | CodeCheck | Arrays - Simple Exercises, Maximum and Minimum |
| 307 | Given an array of integers, return the second-largest element. | Code Completion | Given an array of integers, return the second-largest element. | CodeCheck | Arrays - Simple Exercises, Maximum and Minimum |
| 308 | 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 |
| 309 | Given a two-dimensional array of integers, return the number of distinct elements. | Code Completion | Given a two-dimensional array of integers, return the number of distinct elements. | CodeCheck | Two-Dimensional Arrays, Complex Loops |
| 310 | 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 |
| 311 | 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 |
| 312 | Given an array of integers, give the largest sum of n consecutive elements. | Code Completion | Given an array of integers, give the largest sum of n consecutive elements. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 313 | Given an array of integers, return the sum of all positive elements. | Code Completion | Given an array of integers, return the sum of all positive elements. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 314 | Given an array of floating-point numbers, return an array of the averages of consecutive element pairs of the original array. | Code Completion | Given an array of floating-point numbers, return an array of the averages of consecutive element pairs of the original array. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 315 | Given an array of integers and two values a and b, return the sum of all elements that are at least a and at most b. | Code Completion | Given an array of integers and two values a and b, return the sum of all elements that are at... | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 316 | Given an array of integers, return the average of all positive elements. | Code Completion | Given an array of integers, return the average of all positive elements. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 317 | Given an array of integers, return the average of all elements that are not the maximum or minimum. | Code Completion | Given an array of integers, return the average of all elements that are not the maximum or minimum. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 318 | Given an array of integers, return the product of all non-zero elements. | Code Completion | Given an array of integers, return the product of all non-zero elements. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 319 | Given an array of integers, return the sum of all odd elements. | Code Completion | Given an array of integers, return the sum of all odd elements. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 320 | Given an array of integers, find the largest sum of two different elements in the array. | Code Completion | Given an array of integers, find the largest sum of two different elements in the array. | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 321 | Given a two-dimensional array a, return an array whose [i][j] element is the average of the neighbors of a[i][j] in the N, E, S, W direction. | Code Completion | Given a two-dimensional array a, return an array whose [i][j] element is the average of the neighbors of a[i][j] in... | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 322 | 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 |
| 323 | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. | Code Completion | Given a two-dimensional square array of integers, return the sum of the elements along both diagonals. Make sure not to... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 324 | Given a two-dimensional array of integers and a row index, return the largest element in that row. | Code Completion | Given a two-dimensional array of integers and a row index, return the largest element in that row. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 325 | Given a two-dimensional array of integers, return the sum of all elements along the north and south border. | Code Completion | Given a two-dimensional array of integers, return the sum of all elements along the north and south border. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 326 | Given a two-dimensional array of integers and a column index, return the smallest element in that column. | Code Completion | Given a two-dimensional array of integers and a column index, return the smallest element in that column. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 327 | Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. | Code Completion | Given a two-dimensional array of integers, return the sum of all elements along all borders including the corners. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 328 | Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. | Code Completion | Given a two-dimensional array of integers, return the sum of all elements along all borders but not the corners. | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 329 | 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 |
| 330 | Given an array of integers, return the largest sum of consecutive elements. | Code Completion | Given an array of integers, return the largest sum of consecutive elements. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 331 | Given an array a of integers, return an array of all elements of a that occur exactly once. | Code Completion | Given an array a of integers, return an array of all elements of a that occur exactly once. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 332 | Given two arrays a and b, return an array that contains all elements occurring in a but not in b. | Code Completion | Given two arrays a and b, return an array that contains all elements occurring in a but not in b. | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 333 | Given a two-dimensional array of integers, return the average of the four corner elements. | Code Completion | Given a two-dimensional array of integers, return the average of the four corner elements. | CodeCheck | Two-Dimensional Arrays, No Loops |
| 334 | Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or the average of the two or four middle elements of one or both is even. | Code Completion | Given a two-dimensional array of integers, return the middle element if both the row and column lenghts are odd, or... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 335 | Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even. | Code Completion | Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 336 | Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements in the given compass direction. | Code Completion | Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 337 | 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 |
| 338 | 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 |
| 339 | 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 |
| 340 | 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 |
| 341 | Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its neighbors in the compass directions N E S W NE NW SE SW with x. | Code Completion | Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its... | CodeCheck | Two-Dimensional Arrays, Looping over Neighbors |
| 342 | Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is a[r][c], and whose neighbors are copied from the original. | Code Completion | Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is... | CodeCheck | Two-Dimensional Arrays, Looping over Neighbors |
| 343 | 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 |
| 344 | Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements in that row or column. | Code Completion | Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 345 | Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all elements in the given row and column. | Code Completion | Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 346 | Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of the border in the given compass direction. | Code Completion | Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 347 | 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 |
| 348 | 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 |
| 349 | 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 |
| 350 | 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 |
| 351 | 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 |
| 352 | 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 |
| 353 | Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as an array of arrays of length 2. | Code Completion | Given a two-dimensional array of integers and a value x, return the positions of all matching elements, as an array... | CodeCheck | Two-Dimensional Arrays, Looping Over the Entire Array |
| 354 | 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 |
| 355 | Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its neighbors in the compass directions N E S W NE NW SE SW with x. | Code Completion | Given a two-dimensional array of integers, row/column positions r, c, and a value x, fill the given element and its... | CodeCheck | Two-Dimensional Arrays, Looping over Neighbors |
| 356 | Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is a[r][c], and whose neighbors are copied from the original. | Code Completion | Given a two-dimensional array a of integers and row/column positions r, c, return a 3x3 array whose middle element is... | CodeCheck | Two-Dimensional Arrays, Looping over Neighbors |
| 357 | 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 |
| 358 | 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 |
| 359 | Given an array of integers and an integer n, return an array of the averages of n consecutive elements of the original array. | Code Completion | Given an array of integers and an integer n, return an array of the averages of n consecutive elements of... | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 360 | 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 |
| 361 | Given an array of integers, give the smallest n so that the sum of the first n elements is at least as large as the sum of the remaining elements. | Code Completion | Given an array of integers, give the smallest n so that the sum of the first n elements is at... | CodeCheck | Arrays - Simple Exercises, Sums, Averages, Products |
| 362 | Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return an array of the same size where each element is the greater of the corresponding elements in the two arrays. | Code Completion | Given two two-dimensional arrays a and b of integers with the same number of rows and columns, return an array... | CodeCheck | Two-Dimensional Arrays, Producing 2D Arrays |
| 363 | Given an array of integers, return an array of length 2, with the number of positive and the number of negative elements in the array. | Code Completion | Given an array of integers, return an array of length 2, with the number of positive and the number of... | CodeCheck | Arrays - Simple Exercises, Two Answers |
| 364 | Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements in that row or column. | Code Completion | Given a two-dimensional array of integers, an index, and a string R or C, return the sum of the elements... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 365 | Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all elements in the given row and column. | Code Completion | Given a two-dimensional array of integers, a row index r, and a column index c, return the sum of all... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 366 | Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of the border in the given compass direction. | Code Completion | Given a two-dimensional array of integers and a string N, E, S, W, return the sum of all elements of... | CodeCheck | Two-Dimensional Arrays, Loops Along a Row or Column |
| 367 | Given an array of integers, return an array of arrays of length 2, containing each unique element together with its frequency. | Code Completion | Given an array of integers, return an array of arrays of length 2, containing each unique element together with its... | CodeCheck | Arrays - Simple Exercises, Double Loops |
| 368 | Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border in the given compass direction, or the average of the two middle ones if the border length is even. | Code Completion | Given a two-dimensional array of integers and a string N, E, S, W, give the middle element along the border... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 369 | Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements in the given compass direction. | Code Completion | Given a two-dimensional array of integers and a string NW, NW, SW, SE, return the sum of the four elements... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 370 | 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 |
| 371 | c_sabiranje_kolona | Napisati program koji dodaje elemente na istim mjestima svake kolone matrice na narednu kolonu. | PCEX | ||
| 372 | c_ispis_ispod_sporedne_dijagonale | Napisati program koji ispisuje elemente ispod sporedne dijagonale matrice, razdvojene razmakom. | PCEX | ||
| 373 | c_ispis_iznad_glavne_dijagonale | Napisati program koji ispisuje elemente iznad glavne dijagonale matrice, razdvojene razmakom. | PCEX | ||
| 374 | 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 |
| 375 | c_mnozenje_reda_iznad | Napisati program koji uvećava svaki element u matrici za vrijednost elementa iznad sebe pomnoženim sa -1, koristeći promijenjene vrijednosti iz... | PCEX | ||
| 376 | Modifying an Array (Case 1) | Construct a program that increments all elements of the array by 1. | PCEX | arrays | |
| 377 | c_srednja_vrijednost_matrice | Napisati program koji ispisuje srednju vrijednost elemenata matrice. | PCEX | ||
| 378 | c_zamjena_dvije_kolone | Napisati program koji zamjenjuje dvije kolone matrice (elementi jedne kolone postaju elementi druge kolone, i obrnuto). Korisnik unosi indekse dvije... | PCEX | ||
| 379 | c_zamjena_dva_reda | Napisati program koji zamjenjuje dva reda matrice (elementi jednog reda postaju elementi drugog reda, i obrnuto). Korisnik unosi indekse dva... | PCEX | ||
| 380 | c_zamjena_redova | Napisati program koji zamjenjuje redove matrice (elementi jednog reda postaju elementi drugog reda, i obrnuto). Korisnik unosi indekse redova koje... | PCEX | ||
| 381 | Cálculo de potencias | Construye un programa que calcule la base elevada al exponente no negativo. | jsParsons | ||
| 382 | Calcular una potencia | Construye un programa que calcule la base elevada al exponente. | jsParsons | loops, while loop | |
| 383 | 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 | |
| 384 | 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 | ||
| 385 | Calcular una potencia | Construye un programa que calcule la base elevada al exponente no negativo sin usar multiplicacion. | jsParsons | for loop, loops | |
| 386 | Binary Search Proficency Exercise | Tracing Exercise | Interactive exercise where users indicate which elements of the array should be searched to reproduce the binary search algorithm's behavior. | OpenDSA | Binary Search |
| 387 | Array-Based Queue Design Problem Slideshow | Algorithm Visualization | Slideshow presenting the problem that elements in an array-based queue will eventually run out of space. | OpenDSA | Array-Based Queue |
| 388 | Array-Based Queue Drift Slideshow | Algorithm Visualization | Slideshow presenting the a design that allows elements in an array-based queue to drift. | OpenDSA | Array-Based Queue |
| 389 | Modifying an Array | Construct a program that increments all elements of the array by 1. | PCEX | arrays | |
| 390 | Modifying an Array (Case 2) | Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,... | PCEX | arrays | |
| 391 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 392 | Binary Search - 1 | Construct a function that receives an array and a target element to be searched in the given array. If the... | PCEX | ||
| 393 | c_dinamicka_alokacija_varijabli_challenge | Napisati program koji od korisnika traži unos broja elemenata n, a zatim u petlji dinamički alocira memoriju za jednu cijelobrojnu... | PCEX | ||
| 394 | Practicar indexación y modificación de listas | Construye una funcion que agregue una cantidad dada a todos los elementos de una lista. | jsParsons | ||
| 395 | 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 | |
| 396 | 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 | ||
| 397 | 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 | ||
| 398 | 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 | |
| 399 | 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 | ||
| 400 | 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 | |
| 401 | Passing Lists | Construct a function that calculate square values of the list’s elements. | PCEX | list, value vs reference | |
| 402 | 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 | |
| 403 | 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 | ||
| 404 | 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 |
| 405 | Modifying an Array (Case 2) | Construct a program that swaps pairs of adjacent elements of the array. For example, if the array is {1, 2,... | PCEX | arrays | |
| 406 | 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 | |
| 407 | Get a title from an RSS file | Code Completion | An RSS file contains a sequence of item elements inside a channel element. Here is a sample RSS file: | CodeCheck | XML |
| 408 | How many items in this RSS file? | Code Completion | An RSS file contains a sequence of item elements inside a channel element. Here is a sample RSS file: | CodeCheck | XML |
| 409 | 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 |
| 410 | c_pokazivaci_pomjeranje_kroz_niz_i_manipulacija | Napisati program u kojem je inicijalizovan niz sa 10 cjelobrojnih vrijednosti i pokazivač na prvi element niza. Vrijednost prvog elementa... | PCEX | ||
| 411 | c_min_array | Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najmanji element u nizu. | PCEX | ||
| 412 | c_max_array | Napisati program koji traži unos niza 10 cijelih brojeva sa tastature i zatim ispisuje najveći element u nizu. | PCEX | ||
| 413 | 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 | ||
| 414 | 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 | |
| 415 | 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 | ||
| 416 | 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 | ||
| 417 | 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 |
| 418 | Selection sort modification placing even before odd | Code Completion | Implement a modification of the SelectionSorter class that reorders the array to have even elements followed by odd ones. Follow... | CodeCheck | Sorting and Searching |
| 419 | 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 |
| 420 | Linked List Implementation | In this example, we will define a linked list and create functions to add a new element to the end... | PCEX | ||
| 421 | Linked List Implementation | In this example, we will define a linked list and create functions to add a new element to the end... | PCEX | ||
| 422 | Informe de Informacion del Archivo (Caso 1) | Construir un programa que reciba la ruta completa a un archivo de entrada del usuario, lea ese archivo e informe... | PCEX | file i/o | |
| 423 | Informar Informacion del Archivo (Caso 2) | Construir un programa que reciba la ruta completa a un archivo de entrada del usuario, lea ese archivo e informe... | PCEX | file i/o | |
| 424 | c_ispis_glavna_dijagonala | Napisati program koji od korisnika traži unos matrice cijelih brojeva dimenzija 3x3 i zatim ispisuje na ekran elemente na glavnoj... | PCEX | ||
| 425 | c_ispis_sporedna_dijagonala | Napisati program koji od korisnika traži unos matrice cijelih brojeva dimenzija 3x3 i zatim ispisuje na ekran elemente na sporednoj... | PCEX | ||
| 426 | c_unos_niza_s_prekidom | Napisati program koji od korisnika traži unos niza pozitivnih realnih brojeva. Niz može sadržavati najviše 5 elemenata, a može se... | PCEX | ||
| 427 | c_prebacivanje_u_drugi_niz | Napisati program koji od korisnika traži unos niza od 5 cijelih brojeva, a zatim sve elemente tog niza prebacuje u... | PCEX | ||
| 428 | Cálculo de potencias | Construye una funcion que tome la base y el exponente como parametros y devuelva la base elevada al exponente. Llama... | jsParsons | ||
| 429 | Convertir una lista de tuplas en un diccionario | Construye un programa que imprima mu y oink, en ese orden. | jsParsons | dictionaries | |
| 430 | Calcular una potencia | Construye una funcion que tome una base y un exponente no negativo como parametros y calcule la base elevada al... | jsParsons | for loop, loops | |
| 431 | 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 | |
| 432 | 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 | ||
| 433 | 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 | |
| 434 | Insertion Sort Challenge | Insertion sort works similarly to how one would sort a hand of cards: by choosing an element and searching through... | PCEX | ||
| 435 | Linear Indexing Proficiency Exercise | Tracing Exercise | Interactive proficiency exercise for linear indexing. User clicks on array elements to indicate how the search process progresses from through... | OpenDSA | Linear Indexing |
| 436 | Insertion Sort Optimized with Shifting Proficiency Exercise | Tracing Exercise | Interactive algorithm proficiency exercise for optimized Insertion Sort. User clicks on array elements to reproduce the behavior of Insertion Sort... | OpenDSA | Insertion Sort, Code Tuning |
| 437 | Huffman Coding Tree Slideshow: Build | Algorithm Visualization | Slideshow visualizing the Huffman Coding Tree construction algorithm: Building the tree from a collection of weighted elements. | OpenDSA | Huffman Coding Tree |
| 438 | Searching Arrays (Case 3) | Construct a program that has a function that receives two arrays and creates an array that contains the number of... | PCEX | arrays | |
| 439 | Searching Arrays (Case 2) | Construct a program that has a method that receives two arrays and prints the total number of times the elements... | PCEX | arrays | |
| 440 | 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 | |
| 441 | 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 | |
| 442 | 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 |
| 443 | Updating Two-Dimensional Array (Case 1) | Construct a program that initializes a 3x4 two-dimensional matrix that has the numbers 1 through 12 for entries, sets the... | PCEX | 2d arrays | |
| 444 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | 2d arrays | |
| 445 | Updating Two-Dimensional Array (Case 3) | Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... | PCEX | 2d arrays | |
| 446 | c_dinamicka_alokacija_niza_calloc | Napisati program koji koristi dinamičku alokaciju memorije za cjelobrojni niz. Program treba imati posebnu funkciju za alokaciju niza i posebnu... | PCEX | ||
| 447 | c_dinamicka_alokacija_niza_malloc | Napisati program koji koristi dinamičku alokaciju memorije za cjelobrojni niz. Program treba imati posebnu funkciju za alokaciju niza i posebnu... | PCEX | ||
| 448 | c_pisanje_u_binarne_datoteke | Napisati program koji omogućava upis podataka o osobama u binarnu datoteku baza.dat. Definisati strukturu Osoba koja sadrži ime osobe i... | PCEX | ||
| 449 | c_pokazivaci_manipulacija_clanova_niza | Dat je niz cijelih brojeva i pokazivač p koji pokazuje na drugi član niza. Uvećati vrijednost drugog člana niza za... | PCEX | ||
| 450 | Creando un Diccionario de Pares Caracteres-Frecuencia | Construye un programa que tenga una función que reciba un string del usuario y cree un diccionario que mapea cada... | PCEX | dictionaries | |
| 451 | 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 | |
| 452 | Contando el Numero de Codigos de Producto Validos y Prohibidos (Caso 1) | Supongamos que una empresa hipotética utiliza códigos para representar sus diversos productos. Un código de producto incluye, entre otra información,... | PCEX | exceptions | |
| 453 | Contando el Numero de Codigos de Producto Validos y Prohibidos (Caso 2) | Supongamos que una empresa hipotética utiliza códigos para representar sus diversos productos. Un código de producto incluye, entre otra información,... | PCEX | exceptions | |
| 454 | 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 | |
| 455 | 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 | |
| 456 | Calculando el Porcentaje de Victorias de un Equipo (Caso 1) | Construir un programa que reciba del usuario el número de partidos que un equipo ganó en un torneo de 12... | PCEX | conditionals, loops, while loop | |
| 457 | Calculando el Porcentaje de Victorias de un Equipo (Caso 2) | Construya un programa que reciba del usuario el número de partidos en un torneo y el número de partidos que... | PCEX | conditionals, loops, while loop | |
| 458 | 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 | |
| 459 | 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 | ||
| 460 | On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row. | Code Completion | On a chessboard, positions are marked with a letter between a and h for the column and a number between... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 461 | 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 |
| 462 | 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 |
| 463 | Hash Table Deletion Proficiency Exercise | Tracing Exercise | Proficiency exercise for hash table deletion. User must show the complete sequence of steps for removing an element from the... | OpenDSA | Hashing |
| 464 | JLinkedListUtil | This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... | PCEX | ||
| 465 | 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 | |
| 466 | Updating Two-Dimensional Array (Case 2) | Construct a program that initializes a 3x3 two-dimensional matrix that has the numbers 1 through 9 for entries, sets the... | PCEX | 2d arrays, arrays | |
| 467 | Updating Two-Dimensional Array (Case 3) | Construct a program that initializes a 2x4 two-dimensional matrix that has multiples of 10 from 10 to 80 for entries,... | PCEX | 2d arrays, arrays | |
| 468 | JLinkedListUtil Challenge | This LinkedListUtil class tests various usages of the LinkedList class. The single param is an array of string. You will... | PCEX | ||
| 469 | 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 | |
| 470 | 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 | |
| 471 | Use Money interface in invoice program | Code Completion | The invoice program assumes that prices are given in dollar. Other currencies have different rules, and it makes sense to... | CodeCheck | Object-Oriented Design |
| 472 | Run lengths | Code Completion | A run is a sequence of adjacent repeated values. For example, the array with elements | CodeCheck | Arrays and Array Lists |
| 473 | 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 |
| 474 | 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 |
| 475 | 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 |
| 476 | Recursive toString for array | Code Completion | Complete the static mkString method in the MyMethods class so that it formats an array of int values, with the... | CodeCheck | Recursion |
| 477 | 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 |
| 478 | Merge sort modification placing even before odd | Code Completion | Modify the merge sort algorithm so that, instead of sorting an array, it rearranges places all even elements before the... | CodeCheck | Sorting and Searching |
| 479 | Generic matrix class as a map with integer keys | Code Completion | Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements.... | CodeCheck | Generic Types |
| 480 | Generic matrix class as linear array | Code Completion | Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements.... | CodeCheck | Generic Types |
| 481 | Generic matrix class as array of arrays | Code Completion | Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements.... | CodeCheck | Generic Types |
| 482 | Generic matrix class as a map with integer pair keys | Code Completion | Your task is to complete the implementation of a generic Matrix class. A matrix is a two-dimensional arrangement of elements.... | CodeCheck | Generic Types |
| 483 | Given an array of integers, return an array of length 2, each being an array. | Code Completion | Given an array of integers, return an array of length 2, each being an array. The first one holds the... | CodeCheck | Arrays - Simple Exercises, Two Answers |
| 484 | Given an array of integers, return an array of length 2, each being an array. | Code Completion | Given an array of integers, return an array of length 2, each being an array. The first one holds the... | CodeCheck | Arrays - Simple Exercises, Two Answers |
| 485 | On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row. | Code Completion | On a chessboard, positions are marked with a letter between a and h for the column and a number between... | CodeCheck | Two-Dimensional Arrays, No Loops |
| 486 | c_strukture_i_nizovi_challenge | Napisati program u programskom jeziku C koji radi sa strukturom `Proizvod` koja sadrži naziv proizvoda i njegovu cijenu. U programu... | PCEX | ||
| 487 | c_zamjena_kolona_dva_mjesta_dalje | Napisati program koji pomjera svaku kolonu matrice na mjesto kolone koja se nalazi dva mjesta desno od nje. Brojanje kolona... | PCEX | ||
| 488 | Choosing the Best Indexing Method | Question, Battery | Self-test question battery on which is the best indexing choice for a given scenario. | OpenDSA | Tree-Based Indexing |
| 489 | Tree Indexing Proficiency Exercise | Question, Battery | Tree-based indexing proficiency exercise. User indicates the number of disk pages visited for a given tree. | OpenDSA | Tree-Based Indexing |
| 490 | Paged BST Slideshow | Algorithm Visualization | Slideshow showing the use of paging with a BST-based index. Updating the BST to require it to remain a complete... | OpenDSA | Tree-Based Indexing |
| 491 | Paged BST with Page Rebalancing For Use on Disk Slideshow | Algorithm Visualization | Slideshow showing the use of paging with a BST-based index. Reorganizing the nodes to be on optimal disk pages reduces... | OpenDSA | Tree-Based Indexing |
| 492 | Data types concept map: Review Questions | Question, Battery, Concept Map | Self-assessment question battery about the data types concept map. | OpenDSA | Data Type, Abstract Data Type |
| 493 | Graph Concept Practice Questions | Question, Battery, Concept Map | Self-assessment question battery about graphs, using a concept map. | OpenDSA | Graph |
| 494 | Object-oriented programming concept map: Review Questions | Question, Battery, Concept Map | Self-assessment question battery about the object-oriented programming concept map. | OpenDSA | Object-Oriented Programming |
| 495 | Pointers concept map: Review Questions | Question, Battery, Concept Map | Self-assessment question battery about the pointers concept map. | OpenDSA | Pointer |
| 496 | ADT Introduction Review Questions | Question, Battery | Self-assessment question battery about data types. | OpenDSA | Data Type, Abstract Data Type |