Previous episode: 28. Sequencing Operators
Next episode: 30. Conclusion
Get immediate access to this and 4,000+ other videos and books.
Take your career further with a Kodeco Personal Plan. With unlimited access to over 40+ books and
4,000+ professional videos in a single subscription, it's simply the best investment you can make in
your development career.
How's your golf range? Everyone wants to get par, but more often than not, you're under or, even worse, over par. In this challenge, you'll summarize a golf player's range at a given point in the match, which is dictated by the number of current scores. At the end, the console should print out something like "You have golfed count holes with a min of min and a max of max, with an average course par of four." Count min and max should be determined from the array values representing the scores. The starter project already contains a sample array of scores. Pause the video, try out your solution, and come back when you're ready to see my solution. Good luck. (upbeat music) The solution for this challenge involves three sequencing operators. Since those operators are greedy, however, you'll need to run each one separately. Create a pipeline for the min, max, and count values, using the respective operators. Did you get that solution? If so, congratulations.
All videos. All books.
One low price.
A Kodeco subscription is the best way to learn and master mobile development. Learn iOS, Swift, Android, Kotlin, Flutter and Dart development and unlock our massive catalog of 50+ books and 4,000+ videos.