Skip to content

Commit cdeb48f

Browse files
Refactor file structure and update README instructions.
Moved `PracticeFactory.py` to `handlers/PracticeHandler.py` with class renaming for clarity. Adjusted `score.py` location to `scoring/score.py`. Added a motivational message to each problem section in the README to enhance user experience.
1 parent a66f9ce commit cdeb48f

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ Selected 📅 Daily Challenge Mode
7171
🏷️ Tags: Array, Breadth-First Search, Heap (Priority Queue), Matrix
7272
📈 Acceptance Rate: 55.04%
7373
...
74+
⏳ You have 45 min minutes to solve the problem. Good luck!
7475
```
7576

7677
### Random Problem Mode
@@ -96,6 +97,7 @@ Selected 🎲 Random Problem Mode
9697
🏷️ Tags: Database
9798
📈 Acceptance Rate: 61.29%
9899
...
100+
⏳ You have 45 min minutes to solve the problem. Good luck!
99101
```
100102

101103
### Custom Mode
@@ -120,6 +122,7 @@ Selected 🧩 Custom Practice Mode
120122
🏷️ Tags: Array, Hash Table
121123
📈 Acceptance Rate: 54.67%
122124
...
125+
⏳ You have 45 min minutes to solve the problem. Good luck!
123126
```
124127

125128
### Study Plan Mode
@@ -144,6 +147,7 @@ Selected 🎯 Study Plan Mode: top-interview-150
144147
🏷️ Tags: Array, Matrix, Simulation
145148
📈 Acceptance Rate: 70.65%
146149
...
150+
⏳ You have 45 min minutes to solve the problem. Good luck!
147151
```
148152

149153
## Configurations

PracticeFactory.py renamed to handlers/PracticeHandler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def handle(self, args):
209209
log(f"Failed to fetch random problem: {str(e)}", LogLevel.ERROR)
210210

211211

212-
class PracticeModeFactory:
212+
class PracticeModeHandler:
213213
@staticmethod
214214
def get_mode(selection_mode: str) -> PracticeMode:
215215
if selection_mode == "random":

scoring/__init__.py

Whitespace-only changes.
File renamed without changes.

0 commit comments

Comments
 (0)