A unified multi-language monorepo containing completed LeetCode Project engineering challenges, test suites, design reflections (REFLECTION.essay), problem specifications (Description.md, OVERVIEW.md, README.md), and submission reports (result.md / RESULT.md).
| Track | Status | Projects |
|---|---|---|
| Python 3.11 | Active | 14 |
| C++ 20 | In Progress | 1 |
| Go | In Progress | 1 |
| Java 21 | In Progress | 1 |
| Node.js 20 | In Progress | 1 |
| TypeScript (Node.js 24) | In Progress | 1 |
- 14 / 14 completed projects with 100% behavior test pass rates (
50 / 50behavior score on every submission) - Average Score: 93.43 / 100 (range:
86–98pts) - Domains Covered: Fintech & payments, REST APIs, concurrency & rate limiting, SQL & MongoDB persistence, graph routing, rule engines, state isolation, and web UI adapters
| # | Project | Domain & Focus | Key Modules | Score | Behavior Checks |
|---|---|---|---|---|---|
| 1 | Aggregate Transactions | Receivable aggregation & integer contract allocation | service.py, csv_io.py, models.py |
96 / 100 | 16 / 16 passed |
| 2 | Apparel Shopping Cart | Ordered cart state, exact integer totals & web UI | cart.py, server.py, models.py, web/ |
86 / 100 | 15 / 15 passed |
| 3 | Currency Conversion | Directed FX graph, simple-path search & atomic batches | service.py, app.py, server.py, models.py |
97 / 100 | 24 / 24 passed |
| 4 | Event Recommendation System | SeatScout composable campaign filters & tiers | campaigns.py, models.py |
97 / 100 | 11 / 11 passed |
| 5 | Inventory API | Stockroom MongoDB CRUD, auth & optimistic locking | service.py, server.py, model.py |
93 / 100 | 16 / 16 passed |
| 6 | Payment Reconciliation | ReconcileHub invoice matching, idempotency & thread safety | service.py, app.py, server.py, models.py |
95 / 100 | 40 / 40 passed |
| 7 | Payment Validation | Credit-card form validation, touched state & web UI | form.py, server.py, models.py, web/ |
97 / 100 | 15 / 15 passed |
| 8 | Payments api | SQLite account ledger, balances & restart persistence | service.py, app.py, schema.sql, models.py |
88 / 100 | 15 / 15 passed |
| 9 | Rate Limiter | Sliding Window & Token Bucket LLM gateway rate limiter | rate_limiter.py, server.py |
86 / 100 | 22 / 22 passed |
| 10 | Return Approval Engine | ParcelPolicy flat JSON parser, 64-bit checks & risk rules | json_parser.py, policy.py, cli.py, models.py |
93 / 100 | 20 / 20 passed |
| 11 | Sales Reporting | Parameterized SQLite aggregation & top-k reporting | service.py, app.py, support.py, database/ |
93 / 100 | 9 / 9 passed |
| 12 | Shipping Cost | Tiered tariff schedule validation, quoting & rollback | service.py, app.py, server.py, models.py |
98 / 100 | 25 / 25 passed |
| 13 | Split the Bill | Half-up tipping & exact divmod cent remainder splitting |
split.py, test_split.py |
92 / 100 | 10 / 10 passed |
| 14 | Transactions List | Immutable transaction display projection, filtering & web UI | transactions.py, server.py, models.py, web/ |
97 / 100 | 12 / 12 passed |
- Problem: Receivable Allocation — group card payout transactions by
(merchant, card_type, payout_date), allocate receivables to fixed and percentage contracts in input order using exact integer arithmetic, and emit merchant remainder rows. - Files:
service.py,csv_io.py,models.py,test_client.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout.
- Problem: Storefront shopping cart backend with insertion-ordered lines, zero-quantity removal, arbitrary-precision integer totals, and immutable snapshots backed by a static web frontend (
web/). - Files:
cart.py,server.py,models.py,public_cases.json,test_client.py,web/,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout.
- Problem: Directed FX exchange-rate service supporting atomic batch registration, direct rate lookup, 1-intermediate-hop routes, and best simple-path rate search with epsilon-anchored tie-breaking.
- Files:
service.py,app.py,server.py,models.py,test_client.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout.
- Problem: SeatScout composable campaign rules (
in_metro_area,this_weekend,price_under,within_days,within_miles,all_of,any_of) and tiered recommendation pipeline with fallback. - Files:
campaigns.py,models.py,test_client.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout(usesunittestintest_client.py).
- Problem: Stockroom MongoDB-backed REST inventory service enforcing per-owner authorization, SKU uniqueness, input validation, and atomic versioned optimistic locking (
find_one_and_update). - Files:
service.py,server.py,model.py,test_client.py,test_regression.py,test_support.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pymongo,dnspython(requires a running MongoDB instance for tests).
- Problem: ReconcileHub thread-safe invoice and payment reconciliation API with atomic batch commits, tiered matching (memo ID, exact amount, tolerance window), and idempotency key replay/conflict detection.
- Files:
service.py,app.py,server.py,models.py,test_client.py,requirements.txt,LICENSE,QUESTION.md,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout(usesunittestintest_client.py).
- Problem: Five-field payment form validator tracking raw inputs, strict ASCII format rules, injected year bounds, touched/blur visibility state, reset behavior, and immutable snapshots with web UI (
web/). - Files:
form.py,server.py,models.py,public_cases.json,test_client.py,web/,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout.
- Problem: SQLite-backed account and payment ledger supporting account creation, signed balance aggregation, atomic missing-account rejection, and cross-restart persistence.
- Files:
service.py,app.py,models.py,schema.sql,test_client.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout(usesunittestintest_client.py).
- Problem: Thread-safe in-memory rate limiter for an LLM API gateway implementing Sliding Window and Token Bucket strategies with monotonic time handling, isolated client/resource state, and HTTP smoke server.
- Files:
rate_limiter.py,server.py,test_rate_limiter.py,test_client.py,requirements.txt,LICENSE,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
aiohttp,httpx,pytest,pytest-timeout(usesunittestintest_rate_limiter.py).
- Problem: ParcelPolicy line-oriented return decision engine with a custom flat JSON subset parser (strict escapes, 64-bit integer bounds, duplicate decoded key rejection) and ordered policy risk evaluation.
- Files:
json_parser.py,policy.py,cli.py,models.py,test_client.py,test_adversarial.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies: Python 3.11 standard library only (
unittestintest_client.pyandtest_adversarial.py).
- Problem: Parameterized SQLite sales analytics service validating date ranges, top-k sizes, and optional filters while computing distinct active customers, totals, and deterministic top-k rankings in SQL.
- Files:
service.py,app.py,support.py,database/,scripts/,tests/,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout.
- Problem: Tiered shipping tariff service enforcing gap-free, non-overlapping schedules starting at unit 1, atomic batch updates, 5-step error precedence, and exact overflow-checked order quoting.
- Files:
service.py,app.py,server.py,models.py,test_client.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout(usesunittestintest_client.py).
- Problem: Restaurant bill-splitting tutorial implementing integer half-up tip calculation and
divmodcent-level remainder distribution. - Files:
split.py,test_split.py,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,RESULT.md. - Dependencies:
pytest,pytest-timeout.
- Problem: Transaction history component preserving source order, exact string projection, mutually exclusive
all/credit/debitfilters, list replacement, and detached snapshots with a web UI (web/). - Files:
transactions.py,server.py,models.py,public_cases.json,test_client.py,web/,requirements.txt,Description.md,OVERVIEW.md,README.md,REFLECTION.essay,result.md. - Dependencies:
pytest,pytest-timeout.
Each project is self-contained inside its own subdirectory under Python 3.11/. To run a project's tests:
cd "Python 3.11/<Project Name>"
python -m venv .venv
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
pytestFor unittest-based suites (such as Return Approval Engine, Rate Limiter, Payments api, Payment Reconciliation, Shipping Cost, and Event Recommendation System), you can also run:
python -m unittest discover -vleetcode-project-solutions/
├── .gitignore
├── LICENSE
├── README.md
├── C++ 20/
│ ├── .gitkeep
│ ├── README.md
│ └── Rate Limiter/
├── Go/
│ ├── .gitkeep
│ ├── README.md
│ └── Rate Limiter/
├── Java 21/
│ ├── .gitkeep
│ ├── README.md
│ └── Rate Limiter/
├── Node.js 20/
│ ├── .gitkeep
│ ├── README.md
│ └── Rate Limiter/
├── TypeScript (Node.js 24)/
│ ├── .gitkeep
│ ├── README.md
│ └── Rate Limiter/
└── Python 3.11/
├── README.md
├── Aggregate Transactions/
├── Apparel Shopping Cart/
├── Currency Conversion/
├── Event Recommendation System/
├── Inventory API/
├── Payment Reconciliation/
├── Payment Validation/
├── Payments api/
├── Rate Limiter/
├── Return Approval Engine/
├── Sales Reporting/
├── Shipping Cost/
├── Split the Bill/
└── Transactions List/
Licensed under the MIT License.