Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
115
class
ConcreteStrategyB(Strategy):
116
def
do_algorithm(self, data: List) -> List:
117
return
reversed(sorted(data))
118
119
120
if
__name__ ==
"__main__"
:
Callers
1
main.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected