-
More Details
- name :
- Different sorting algorithms can be encapsulated into separate strategies and passed to an object that needs sorting.
- Multiple Algorithms:
- When you have multiple algorithms that can be used interchangeably based on different contexts, such as sorting algorithms
Source: link Dart Code: link