Completed
Using a Gatherer to inserting an element at a specific place in a sorted stream
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Data Oriented Programming in Java 21 - Solving the Countdown Game
Automatically move to the next video in the Classroom when playback concludes
- 1 Do you feel like a coffee break?
- 2 Introducing the Countdown game and its rules
- 3 Introducing the Haskell algorithm translated to Java
- 4 Computing all the permutations of all the subsets
- 5 Splitting the sets to apply the four operations
- 6 Filtering the invalid operations
- 7 Computing the final result and the string of characters
- 8 Using Data Oriented Programming to model the data
- 9 Wrapping up this algorithm
- 10 Writing a bottom up algorithm leveraging Data Oriented Programming
- 11 Using Optional to discard invalid mapping operations
- 12 Getting rid of Optional with Stream.mapMulti
- 13 Implementing resolve with an exhaustive switch and pattern matching
- 14 Using a Gatherer to inserting an element at a specific place in a sorted stream
- 15 Using anonymous classes and non-denotable types
- 16 Using the Gatherer in the final process
- 17 Making the algorithm efficient
- 18 Writing the final algorithm using Records
- 19 Comparing the two algorithms
- 20 That's it for today, talk to you soon!