Spaces:
Configuration error
Configuration error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,33 +1,60 @@
|
|
| 1 |
# DSA Portfolio
|
| 2 |
|
| 3 |
-
A modern personal DSA knowledge repository.
|
| 4 |
|
| 5 |
-
|
|
|
|
|
|
|
| 6 |
|
| 7 |
- Dynamic JSON-based problem listing
|
| 8 |
-
- Search
|
| 9 |
-
-
|
| 10 |
-
- Dedicated explanation page for
|
| 11 |
-
-
|
| 12 |
-
-
|
| 13 |
-
- Vanilla JavaScript
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
| 16 |
|
| 17 |
```bash
|
| 18 |
dsa-portfolio/
|
| 19 |
β
|
| 20 |
βββ index.html
|
| 21 |
βββ data.json
|
|
|
|
|
|
|
| 22 |
βββ assets/
|
|
|
|
|
|
|
| 23 |
βββ problems/
|
| 24 |
-
βββ
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
```
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
|
|
|
| 31 |
|
| 32 |
Example:
|
| 33 |
|
|
@@ -43,15 +70,31 @@ Example:
|
|
| 43 |
}
|
| 44 |
```
|
| 45 |
|
| 46 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 47 |
|
| 48 |
-
|
| 49 |
|
| 50 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 51 |
|
| 52 |
- Streak calendar
|
| 53 |
- Topic analytics
|
| 54 |
- Dark/light mode persistence
|
| 55 |
-
-
|
| 56 |
-
-
|
| 57 |
-
- GitHub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# DSA Portfolio
|
| 2 |
|
| 3 |
+
A modern personal DSA knowledge repository for documenting solved Data Structures & Algorithms problems.
|
| 4 |
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# Features
|
| 8 |
|
| 9 |
- Dynamic JSON-based problem listing
|
| 10 |
+
- Search functionality
|
| 11 |
+
- Filter by topic/difficulty
|
| 12 |
+
- Dedicated explanation page for each problem
|
| 13 |
+
- Glassmorphism modern UI
|
| 14 |
+
- Fully responsive
|
| 15 |
+
- Tailwind CSS + Vanilla JavaScript
|
| 16 |
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# Folder Structure
|
| 20 |
|
| 21 |
```bash
|
| 22 |
dsa-portfolio/
|
| 23 |
β
|
| 24 |
βββ index.html
|
| 25 |
βββ data.json
|
| 26 |
+
βββ README.md
|
| 27 |
+
β
|
| 28 |
βββ assets/
|
| 29 |
+
β βββ style.css
|
| 30 |
+
β
|
| 31 |
βββ problems/
|
| 32 |
+
β βββ subsets.html
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
# Adding New Problems
|
| 38 |
+
|
| 39 |
+
## Step 1
|
| 40 |
+
|
| 41 |
+
Create a new HTML file inside:
|
| 42 |
+
|
| 43 |
+
```bash
|
| 44 |
+
/problems/
|
| 45 |
+
```
|
| 46 |
+
|
| 47 |
+
Example:
|
| 48 |
+
|
| 49 |
+
```bash
|
| 50 |
+
/problems/two-sum.html
|
| 51 |
```
|
| 52 |
|
| 53 |
+
---
|
| 54 |
|
| 55 |
+
## Step 2
|
| 56 |
+
|
| 57 |
+
Add a new object in `data.json`
|
| 58 |
|
| 59 |
Example:
|
| 60 |
|
|
|
|
| 70 |
}
|
| 71 |
```
|
| 72 |
|
| 73 |
+
---
|
| 74 |
+
|
| 75 |
+
# Run Locally
|
| 76 |
+
|
| 77 |
+
Use VS Code Live Server extension.
|
| 78 |
|
| 79 |
+
OR
|
| 80 |
|
| 81 |
+
Simply open `index.html`.
|
| 82 |
+
|
| 83 |
+
---
|
| 84 |
+
|
| 85 |
+
# Future Improvements
|
| 86 |
|
| 87 |
- Streak calendar
|
| 88 |
- Topic analytics
|
| 89 |
- Dark/light mode persistence
|
| 90 |
+
- Syntax highlighting
|
| 91 |
+
- Markdown notes support
|
| 92 |
+
- GitHub integration
|
| 93 |
+
|
| 94 |
+
---
|
| 95 |
+
|
| 96 |
+
# Tech Stack
|
| 97 |
+
|
| 98 |
+
- HTML5
|
| 99 |
+
- Tailwind CSS
|
| 100 |
+
- Vanilla JavaScript
|