Skip to content

Add Problem 1, 2, 3 solutions#286

Open
KhoaDang2027 wants to merge 4 commits into
99techteam:mainfrom
KhoaDang2027:add-solutions
Open

Add Problem 1, 2, 3 solutions#286
KhoaDang2027 wants to merge 4 commits into
99techteam:mainfrom
KhoaDang2027:add-solutions

Conversation

@KhoaDang2027

@KhoaDang2027 KhoaDang2027 commented Jun 4, 2026

Copy link
Copy Markdown

Summary

  • Problem 1: Three ways to sum to n (iterative, formula, recursive)
  • Problem 2: Token swap UI with React + TypeScript + Tailwind
  • Problem 3: Messy React analysis with 9 identified bugs/anti-patterns

Changes

  • Added solution.js for Problem 1
  • Refactored Problem 2 with modern React + Tailwind
  • Added ANALYSIS.md and solution.tsx for Problem 3

Test plan

  • Run Problem 2: cd src/problem2 && npm install && npm run dev
KhoaDang2027 and others added 4 commits June 4, 2026 22:07
- Problem 1: Three ways to sum to n (iterative, formula, recursive)
- Problem 2: Token swap UI with React + TypeScript + Tailwind
- Problem 3: Messy React analysis with 9 identified bugs/anti-patterns

Changes include refactored code and detailed documentation.

Co-authored-by: Cursor <cursoragent@cursor.com>
Re-adding files from commit f172cd9

Co-authored-by: Cursor <cursoragent@cursor.com>
Re-creating the refactored React solution file

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant