MCPcopy Create free account
hub / github.com/RefactoringGuru/design-patterns-python / ConcreteStrategyB

Class ConcreteStrategyB

src/Strategy/Conceptual/main.py:115–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113
114
115class ConcreteStrategyB(Strategy):
116 def do_algorithm(self, data: List) -> List:
117 return reversed(sorted(data))
118
119
120if __name__ == "__main__":

Callers 1

main.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected