Spaces:
Configuration error
Configuration error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,10 +1,84 @@
|
|
| 1 |
---
|
| 2 |
-
title: DSA
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
|
|
|
| 7 |
pinned: false
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: DSA Portfolio
|
| 3 |
+
emoji: π»
|
| 4 |
+
colorFrom: indigo
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: static
|
| 7 |
+
app_file: index.html
|
| 8 |
pinned: false
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# DSA Portfolio
|
| 12 |
+
|
| 13 |
+
A modern personal DSA knowledge repository.
|
| 14 |
+
|
| 15 |
+
## Features
|
| 16 |
+
|
| 17 |
+
- Dynamic JSON-based problem listing
|
| 18 |
+
- Search & filters
|
| 19 |
+
- Beautiful glassmorphism UI
|
| 20 |
+
- Dedicated explanation page for each problem
|
| 21 |
+
- Fully responsive
|
| 22 |
+
- Tailwind CSS + Vanilla JS
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# Folder Structure
|
| 27 |
+
|
| 28 |
+
```bash
|
| 29 |
+
dsa-portfolio/
|
| 30 |
+
β
|
| 31 |
+
βββ index.html
|
| 32 |
+
βββ data.json
|
| 33 |
+
βββ README.md
|
| 34 |
+
β
|
| 35 |
+
βββ assets/
|
| 36 |
+
β βββ style.css
|
| 37 |
+
β
|
| 38 |
+
βββ problems/
|
| 39 |
+
β βββ subsets.html
|
| 40 |
+
```
|
| 41 |
+
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
+
# Adding New Problems
|
| 45 |
+
|
| 46 |
+
## Step 1
|
| 47 |
+
|
| 48 |
+
Create a new HTML file inside:
|
| 49 |
+
|
| 50 |
+
```bash
|
| 51 |
+
/problems/
|
| 52 |
+
```
|
| 53 |
+
|
| 54 |
+
Example:
|
| 55 |
+
|
| 56 |
+
```bash
|
| 57 |
+
/problems/two-sum.html
|
| 58 |
+
```
|
| 59 |
+
|
| 60 |
+
---
|
| 61 |
+
|
| 62 |
+
## Step 2
|
| 63 |
+
|
| 64 |
+
Add entry inside `data.json`
|
| 65 |
+
|
| 66 |
+
```json
|
| 67 |
+
{
|
| 68 |
+
"title": "Two Sum",
|
| 69 |
+
"difficulty": "Easy",
|
| 70 |
+
"topic": "Arrays",
|
| 71 |
+
"tags": ["HashMap"],
|
| 72 |
+
"dateSolved": "2026-05-08",
|
| 73 |
+
"platform": "LeetCode",
|
| 74 |
+
"url": "./problems/two-sum.html"
|
| 75 |
+
}
|
| 76 |
+
```
|
| 77 |
+
|
| 78 |
+
---
|
| 79 |
+
|
| 80 |
+
# Tech Stack
|
| 81 |
+
|
| 82 |
+
- HTML5
|
| 83 |
+
- Tailwind CSS
|
| 84 |
+
- Vanilla JavaScript
|