State machine, a Scala language concept
Last updated
A state machine is the use of `sealed trait` to represent all the possible states (and transitions) of a 'machine' in a hierarchical form.
Last updated
A state machine is the use of `sealed trait` to represent all the possible states (and transitions) of a 'machine' in a hierarchical form.
Fully unit-tested, with explanations and relevant concepts; new algorithms published about once a week.
To save you going through various tutorials, we cherry-picked the most useful Scala concepts in a consistent form.
Maximize your Scala with disciplined and consistently unit-tested solutions to 100+ algorithms.
Use it from improving your day-to-day data structures and Scala; all the way to interviewing.