[FullStack] Problem 1 - 6 Riki Rifaldi - rkrfld@gmail.com - #300
Open
rkrfld wants to merge 6 commits into
Open
Conversation
Add sum_to_n.js with three implementations: iterative loop (O(n)), Gauss formula (O(1)), and recursion (O(n) time/space). All verified to agree on n = 0, 1, 5, 100.
Fetches live prices from interview.switcheo.com, dedupes by latest date, renders searchable token dropdowns with Switcheo icons (fallback on 404), computes live swap output, validates same-token/invalid-amount, mocks submit with a loading delay.
List 11 issues (undefined var, inverted filter, missing blockchain type, bad sort comparator, wasted useMemo deps, dead formattedBalances, index-as-key, dropped children) with a refactored WalletPage.tsx fixing each.
Same three approaches as problem1 (loop, Gauss formula, recursion), typed, each annotated with time/space complexity. Verified against n = 0, 1, 5, 100.
Resource CRUD (create/list/get/update/delete) with category/search/price filters, validated input, lowdb JSON-file persistence (no native deps). README covers config and run steps. Verified live: full CRUD flow, filters, 400/404 paths, disk persistence.
Data model (append-only score_events ledger + action_grants for one-time redeemable awards), API, execution-flow diagram, real-time delivery via pub/sub + selective top-10 cache invalidation, and anti-abuse design where the client never states its own point value.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan