Data Oriented Programming in Java 21 - Solving the Countdown Game
Offered By: Java via YouTube
Course Description
Overview
Syllabus
Do you feel like a coffee break?
Introducing the Countdown game and its rules
Introducing the Haskell algorithm translated to Java
Computing all the permutations of all the subsets
Splitting the sets to apply the four operations
Filtering the invalid operations
Computing the final result and the string of characters
Using Data Oriented Programming to model the data
Wrapping up this algorithm
Writing a bottom up algorithm leveraging Data Oriented Programming
Using Optional to discard invalid mapping operations
Getting rid of Optional with Stream.mapMulti
Implementing resolve with an exhaustive switch and pattern matching
Using a Gatherer to inserting an element at a specific place in a sorted stream
Using anonymous classes and non-denotable types
Using the Gatherer in the final process
Making the algorithm efficient
Writing the final algorithm using Records
Comparing the two algorithms
That's it for today, talk to you soon!
Taught by
Java
Related Courses
Algorithms, Part IPrinceton University via Coursera Introduction à la programmation orientée objet (en Java)
École Polytechnique Fédérale de Lausanne via Coursera MongoDB for Java Developers
MongoDB University Initiation à la programmation (en Java)
École Polytechnique Fédérale de Lausanne via Coursera Intro to Java Programming
San Jose State University via Udacity