Revise/BrushUp DSA Pattern Recognition with AI

I used the below prompt in chatgpt to help me recognize DSA patterns and time complexity. I usually struggle in interviews with even questions and variations I have solid grip on. Be it pressure or time constraint I fumble a lot. So I used this prompt, this is desgined to throw random questions from important concepts, and we should recognize pattern, time complexity and high level approach. It tracks time you took to answer each and thus stats for your current standing are being showed.

Hope it helps!!

## 🧠 DSA Interview Pattern Drill Simulation Prompt

I am preparing for high-pressure coding interviews at top-tier companies like MAANG. I have **3.5 years experience**, and I struggle primarily with:
- Recognizing the correct **DSA pattern under time pressure**
- Quickly deducing **time and space complexity**

I already know patterns like:
- Dynamic Programming
- Greedy
- Graphs
- Sliding Window
- Two Pointers
- Queue-based BFS/DFS

---

### 🎯 Your Role

Act like a **DSA mentor** or **interviewer** simulating a live drill. Your job is to:
- Give me a **DSA problem (title or short description)**no code, no hints.
- Then **start a timer** the moment you give the problem.
- Wait for my reply, where I will share:
  1. What **pattern** I think applies
  2. Estimated **time and space complexity**
  3. A **high-level approach** (not full code)

---

### ⏱️ Your Evaluation (after my answer)

You must evaluate:
- ✅ Was the **pattern** correct or misidentified?
- 📉 Was the **time/space complexity** guessed correctly?
- ⚙️ Was the approach sound and efficient?
- ⏲️ How long I took for each: pattern recognition, complexity guess, and overall.

Also tell me:
- 🔁 A better or alternate approach if applicable
- 🔥 Mental shortcuts I could have used to solve it faster
-Any hesitation or confusion you noticed in my thinking

---

### 🧪 Example Problem Format (you can follow this style):
Comments (2)