Showing 0-0 of 0 results
# Exercise Title Features Description Platform Keywords
1 Introduction to Data Structures and Algorithms Review Questions Question, Battery Data Structures introduction battery of self-assessment questions. OpenDSA Data Structures
2 Path lengths in binary tree Code Completion Your task is to compute a set of all path lengths in a binary tree. For example, given this tree, CodeCheck Tree Structures
3 Letter frequency map Code Completion Your task is to produce a map of the frequencies of all letters in a string. Letters are represented as... CodeCheck Tree Structures
4 Unique words in two string sets Code Completion Implement a method that receives two arrays of strings and determines which words are unique to each. CodeCheck Tree Structures
5 Make Person class comparable Code Completion The program below will fail to run because the Person class does not implement the Comparable interface. Modify the class... CodeCheck Tree Structures
6 Hash code for Person class Code Completion When you add instances of the given Person class in a HashSet, the resulting hash set is too large. Evidently,... CodeCheck Tree Structures
7 Map words to their lengths Code Completion Given an array of strings, create a tree map with each string as a key and its corresponding value the... CodeCheck Tree Structures
8 Letter set Code Completion Your task is to produce a set of all letters in a string. Letters are represented as strings of length... CodeCheck Tree Structures
9 Hash code for LabeledPoint Code Completion Implement the hashCode method for the LabeledPoint class so that equal objects have the same hash code and that unequal... CodeCheck Tree Structures
10 A fast priority queue Code Completion It is possible to provide a fast priority queue implementation if the inserted items have a bounded number of integer... CodeCheck Tree Structures
11 Map word lengths to words Code Completion Given an array of strings, create a tree map whose keys are the string lengths and whose values are the... CodeCheck Tree Structures
12 Create New Node Free Coding Problem, code writing Coding Question CodeWorkout linked structures, Pointers, code writing
13 Build Two Nodes Free Coding Problem, code writing Coding Question CodeWorkout linked structures, Pointers, code writing
14 Build Three Nodes Free Coding Problem, code writing Coding Question CodeWorkout linked structures, Pointers, code writing
15 Build Nodes Free Coding Problem, code writing Coding Question CodeWorkout linked structures, Pointers, code writing
16 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
17 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
18 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
19 Palindrome testing with stack and queue Code Completion Using a queue and a stack, implement a method that tests whether a sequence of numbers is a palindrome, that... CodeCheck Linear Data Structures
20 Implement addLast using raw nodes Code Completion Implement the addLast method in this simplified LinkedList class. CodeCheck Linear Data Structures
21 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
22 Remove short words Code Completion Your task is to remove all short words (that is, words with at most 3 characters) from a linked list. CodeCheck Linear Data Structures
23 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
24 Using a stack for checking balanced parentheses Code Completion A stack can be used to check whether an arithmetic expression such as CodeCheck Linear Data Structures
25 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
26 Dictionary 1 Python CodeVisualization for demonstrating Dictionary 1 JSVEE classes, data structures, dictionaries, dictionary, json, stacks
27 Find Max Python CodeVisualization for demonstrating Find Max JSVEE classes, data structures, json, list, stacks
28 Objects 1 Python CodeVisualization for demonstrating Objects 1 JSVEE classes, data structures, objects, stacks
29 Objects 2 Python CodeVisualization for demonstrating Objects 2 JSVEE classes, data structures, objects, stacks
30 Objects 3 Python CodeVisualization for demonstrating Objects 3 JSVEE classes, data structures, objects, stacks
31 Dictionary calculations Construct a program that calculates each student’s average score by using `studentdict` dictionary that is already defined as follows: jsParsons classes, data structures, dictionaries, dictionary, stacks
32 Clss Person Write a program that will print out "Safiira. Nice to meet you!" jsParsons classes, data structures, objects, stacks
33 Class Point Construct a class Point which has a method to tell distance from another instance of Point. jsParsons classes, data structures, objects, stacks
34 Dictionary Filter Construct a program that prints out all the circles that are larger than 5. jsParsons classes, data structures, dictionaries, dictionary, stacks
35 Dictionary Keys storage-dictionary stores the amount of certain items in storage. Construct a program that prints out a list of all the... jsParsons classes, data structures, dictionaries, dictionary, stacks
36 Dictionary Values Construct a program that prints out how many items in total are in storage. You can assume that a dictionary... jsParsons classes, data structures, dictionaries, dictionary, stacks
37 List to Dictionary Construct a program that prints out moo and oink, in that order. jsParsons classes, data structures, dictionaries, dictionary, stacks
38 Construct a program that creates a Stack Structure Construct a program that creates two functions in a Stack Structure. The first one is "push" function and the second... jsParsons classes, data structures, stack, stacks
39 Stack Lifo1 Python CodeVisualization for demonstrating Stack Lifo1 JSVEE classes, data structures, stack, stacks
40 Stack Lifo2 Python CodeVisualization for demonstrating Stack Lifo2 JSVEE classes, data structures, stack, stacks
41 Stack Implementing Stack. Using Class to construct a Stack structure. PCEX classes, data structures, stack, stacks
42 Dictionary square Python PredictingFinalResult for demonstrating Dictionary square QuizPET classes, data structures, dictionaries, dictionary, stacks
43 bus objects Python PredictingFinalResult for demonstrating bus objects QuizPET classes, data structures, objects, stacks
44 one car object Python PredictingFinalResult for demonstrating one car object QuizPET classes, data structures, objects, stacks
45 two car objects Python PredictingFinalResult for demonstrating two car objects QuizPET classes, data structures, objects, stacks
46 point object Python PredictingFinalResult for demonstrating point object QuizPET classes, data structures, objects, stacks
47 Stack Num Python PredictingFinalResult for demonstrating Stack Num QuizPET classes, data structures, queues, stack, stacks
48 The Class for Representing a Bank Account Construct a class that represents a basic bank account. This class should contain data representing the name of the account’s... PCEX classes, data structures, objects, stacks
49 The Class for Representing a Point in the Euclidean Plane Construct a class that represents a point in the Euclidean plane. The class should contain data that represents the point’s... PCEX classes, data structures, objects, stacks
50 The Class for Representing a TV Construct a class that represents a TV. The class should contain data that represents the TV's state (power on or... PCEX classes, data structures, objects, stacks
51 Creating a Dictionary of Character-Count/Words Pairs Construct a program that has a function which receives a string from the user and creates a dictionary that maps... PCEX classes, data structures, dictionaries, dictionary, stacks
52 Searching Values of a List in Another List Construct a program that has a function that receives two lists and prints the values in the 2nd list that... PCEX classes, data structures, list, search algorithms, stacks
53 Codewit Jessica: apartment hunting with C++ structs Free Coding Problem, code writing Coding Question CodeWorkout struct, structures, code writing
54 Musical instruments with C++ structs Free Coding Problem, code writing Coding Question CodeWorkout struct, structures, code writing
55 ae_python_class1 Python CodeVisualization for demonstrating ae_python_class1 JSVEE algorithm analysis, classes, data structures, objects, stacks
56 ae_python_class2 Python CodeVisualization for demonstrating ae_python_class2 JSVEE algorithm analysis, classes, data structures, objects, stacks
57 Two-dimensional List Construct a program that prints out [[0, 1, 2], [3, 4, 5], [6, 7, 99]] jsParsons 2d list, classes, data structures, list, stacks
58 account objects Python PredictingFinalResult for demonstrating account objects QuizPET algorithm analysis, classes, data structures, objects, stacks
59 Rotating the List Values Construct a program that has a function that receives a list of values and returns the list rotated to the... PCEX algorithm analysis, classes, data structures, list, stacks
60 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
61 Processing the Results of a Soda Survey Suppose a soda manufacturer held a taste test for four new flavors to determine if people liked them. The manufacturer... PCEX 2d list, classes, data structures, for loop, list, stacks
62 BigO - ArrayList Time Complexity Question, forced choice Multiple Choice Question CodeWorkout big O, arraylist, data structures, forced choice
63 Two-dimensional List 4 Python PredictingFinalResult for demonstrating Two-dimensional List 4 QuizPET 2d list, algorithm analysis, classes, data structures, list, stacks
64 Linear Structures Chapter Summary Questions Question, Battery Self-practice questions related to all aspects of lists, stacks, and queues. OpenDSA List, Stack, Queue
65 Linear Data Structures Summary Questions Question, Battery Self-practice questions comparing uses of linear structures. OpenDSA List, Stack, Queue
66 Algorithm Analysis Chapter Summary Questions: CS3 Question, Battery Battery of self-assessment questions on Algorithm Analysis. Suitable for a post-CS2 Data Structures and Algorithms course. OpenDSA Algorithm Analysis
67 Apartment availability in C++ Free Coding Problem, code writing Coding Question CodeWorkout struct, structure, function, code writing
68 Adding to a List Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Data Structure, code writing
69 ArrayLists 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, code writing
70 ArrayLists 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, code writing
71 ArrayLists 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, code writing
72 ArrayLists 4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, code writing
73 For-Each Loops 1 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
74 For-Each Loops 2 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
75 For-Each Loops 3 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
76 For-Each Loops 7 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
77 For-Each Loops 6 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
78 ArrayList Contains Value Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
79 For-Each Loops 4 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
80 For-Each Loops 5 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
81 For-Each Loops 8 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
82 For-Each Loops 9 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
83 For-Each Loops 10 Free Coding Problem, code writing Coding Question CodeWorkout CS1114, arraylist, Java, Data Structure, loop, iteration, for each, for-each, code writing
84 IfElse_Structure C BehaviorExample for demonstrating IfElse_Structure AnnEx
85 while_structure C++ BehaviorExample for demonstrating while_structure AnnEx
86 Call Structure for the Fibonacci Sequence Problem Algorithm Visualization Slideshow showing the tree structure for calls by a recursive implementation of the Fibonacci sequence calculation. OpenDSA Dynamic Programming, Fibonacci Sequence
87 Call Structure for the Chained Matrix Multiplication Problem Algorithm Visualization Slideshow showing the tree structure for calls by a solution to the chained matrix multiplication problem. OpenDSA Dynamic Programming, Chained Matrix Multplication Problem
88 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
89 JSON Iterate 1 Using JSON structure list all flights and their destinations jsParsons json, json-iterate
90 JSON Iterate 2 Using JSON structure list codes for first three flights jsParsons json, json-iterate
91 Solving Josephus Problem Challenge Construct a program by using Queue structure to solve a Josephus problem. Josephus problem is a counting-out game. N people... PCEX
92 Bintree Visualization Algorithm Visualization Algorithm Visualization for the Bintree data structure. OpenDSA PR Quadtree
93 Bintree Interactive Visualization Algorithm Visualization, User Supplied Data Interactive Algorithm Visualization for the Bintree data structure. User can click to indicate where a point should be inserted or... OpenDSA Bintree
94 Queue Implementation Implementing Queue. Using Class to construct a Queue structure. PCEX queue, queues
95 Conditional statements: Using the Right Conditional Statement Question, Battery Conditional Statement self-assessment questions: Deciding when to use each type of conditional structure. OpenDSA Conditional Statement
96 Full Binary Tree Serialization Slideshow: Mark Bits Algorithm Visualization Slideshow how to reconstruct a full binary tree from a serialized representation of its node values. All that is needed... OpenDSA Serialization, Binary Tree
97 Structurally Identical Binary Trees Exercise Free Coding Problem, code writing Coding Question CodeWorkout Trees, code writing
98 c_strukture_funkcije_sredina_tacaka Napisati program koji definiše strukturu Tacka te fukciju "sredina" koja prima dvije varijable tipa ove strukture, računa središnju tačku te... PCEX
99 c_strukture_funkcija_pravougaonik Napisati funkciju povecaj_pravougaonik koja prima strukturu Pravougaonik. Ova struktura sadrži polja "sirina" i "visina". Funkcija vraća strukturu pravougaonik te povećava... PCEX
100 c_strukture_s_pokazivacima Napisati program u kojem se definišu strukture Tacka i Kruznica. Program treba omoguciti unos obje strukture i ispisati da li... PCEX
101 c_strukture_funkcije_sredina_tacaka_s_pokazivacima Napisati program koji definiše strukturu Tacka te fukciju "sredina" koja prima dvije varijable tipa ove strukture, računa središnju tačku te... PCEX
102 c_strukture_funkcija_pravougaonik_pokazivaci Napisati funkciju povecaj_pravougaonik koja prima pokazivač na strukturu Pravougaonik. Ova struktura sadrži polja "sirina" i "visina". Funkcija ne vraća ništa,... PCEX
103 c_strukture_i_nizovi Napisati program u programskom jeziku C koji omogućava rad sa studentima koristeći strukture i nizove. Potrebno je definisati strukturu Student... PCEX
104 c_strukture_i_nizovi_pokazivaci Napisati program koji omogućava rad sa studentima koristeći strukture i nizove. Potrebno je definisati strukturu Student koja sadrži ime i... PCEX
105 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
106 c_strukture Napisati program u kojem se definišu strukture Tacka i Kruznica. Program treba omoguciti unos obje strukture i ispisati da li... PCEX
107 c_strukture_unos_ispis_studenta_challenge Napisati program koji koristi strukturu Student (s poljima ime, indeks i prosjek) te dvije funkcije - jedna za unos, a... PCEX
108 Funkcije i strukture C CodeConstruction&CompletionBundle for demonstrating Funkcije i strukture PCEX
109 Funkcije i strukture s pokazivacima C CodeConstruction&CompletionBundle for demonstrating Funkcije i strukture s pokazivacima PCEX