Skip to content

[FE] Phan Tuan Minh - phantuanminhnh117@gmail.com#282

Open
0367592801 wants to merge 2 commits into
99techteam:mainfrom
0367592801:main
Open

[FE] Phan Tuan Minh - phantuanminhnh117@gmail.com#282
0367592801 wants to merge 2 commits into
99techteam:mainfrom
0367592801:main

Conversation

@0367592801
Copy link
Copy Markdown

@0367592801 0367592801 commented May 30, 2026

99Tech Code Challenge #1 — submission

All three problems solved in a single React + Vite + TS app, one tab per problem.

Quick review repo: https://github.com/0367592801/code-challenge/tree/main

Live demo: https://code-challenge-lake.vercel.app/

  • Problem 1 — Sum to N: 4 implementations (iterative, Gauss O(1), functional reduce, big-number Gauss for unbounded n). 294 vitest cases, validated against BigInt.
  • Problem 2 — Fancy Currency Swap: live Switcheo price feed, mock wallet with persisted debits/credits per swap, slippage tolerance, fee, validation, loading + success states.
  • Problem 3 — Messy React: 17 issues catalogued across bug / anti-pattern / perf severities, plus a working refactor (Refactored.tsx) that actually mounts in the tab.

Run: npm install && npm run devhttp://localhost:5173/
Tests: npm test · Typecheck: npm run typecheck · Build: npm run build

0367592801 and others added 2 commits May 30, 2026 16:59
- Problem 1: sumToN with 3 implementations + tests
- Problem 2: token swap form with balances, formatting, icons
- Problem 3: refactored React component with analysis notes

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant