Refactor a marks report to streams
50 min · Intermediate
Need help? Ask a tutor on WhatsApp (opens in a new tab)Refactoring means changing how code is written without changing what it does. Here a working result program full of loops, counters and hand-kept maps becomes a set of stream pipelines, and its printed report stays the same, character for character.
Sign in to continue this lesson
Create an account to read every lesson, practise with the exercises and keep track of your progress.