Hoi hoi!
Iβm @nyaomaru, a frontend engineer who has been obsessed with ramen lately. πΈπ
Have you used DSA View View already? ππ
I Built a...
For further actions, you may consider blocking this person and/or reporting abuse
The two-pointer approach on Trapping Rain Water is one of those problems where visualization actually matters β I've seen people memorize the code without understanding why
left < righteven works, then freeze on variants like "trapping rain water II" on a 2D grid. The "count first, then organize by frequency" framing for Top K is solid, but worth noting that the bucket-sort approach only wins when k is small relative to n β a heap is the boring but correct answer more often than people admit.Thank you! πΈ
I also think visualization helps turn these problems from something you memorize into something you actually understand, so Iβd be really happy if you give DSA View View a try! π
And thanks for pointing out the trade-off with the bucket approach too. The bucket version gives us linear-time behavior, but it also allocates space based on n, while a heap can be a better practical choice when k is small or memory matters.
Handling the size of the data structure is definitely an important part of the design too.
Wow, this is awesome! You managed to make those dry, boring algorithms so engaging. Between us, back when I tried reading algorithm books, Iβd doze off the second I closed my eyes. I never picked them up again, hahaπ. If the tutorials I had back then were this fun, I wouldβve been way better at this stuff.π€£
Thx! πΈ
Honestly, DSA isnβt always the most enjoyable thing to learn, so I tried to make it as fun and approachable as possible. πβ¨
Iβm really happy you enjoyed it! πΉ
Nice work! Visuals make DSA much easier to learnπ
The step-by-step visualization on Trapping Rain Water is clean. The moment where you track the left/right max arrays side-by-side is exactly the mental model beginners miss. Building something similar for my KODA LEARN lessons β thanks for the reference. π
DSA is fundamental, but I think it really supports the way engineers think and solve problems.
So I think making it a core part of your learning content is a great idea!
Good luck with KODA LEARN! πͺπΈ
Excellent!
Thx! πΈ
Welcome π
Love the step-backward feature. Being able to rewind mid-loop is so clutch when you lose track of a variable and don't want to restart everything.
Thx! πΈ
Actually, this feature has been improved based on user feedback!
github.com/nyaomaru/dsa-view-view/...
So Iβm really happy to hear that you found the step-back feature useful. π
If you have any requests or run into any issues, feel free to reach out anytime!
Interesting TypeScript approach. I'd emphasize that strict null checks and noUncheckedIndexedAccess are non-negotiable for production code β the number of runtime errors they prevent is remarkable.
Thank you! I agree. πΈ
I also think strictNullChecks and noUncheckedIndexedAccess are really important for production code.
And for values that still need runtime validation, I like using reusable type guards too. Thatβs actually one of the reasons I built is-kit. π
is-kit.dev/
Nice TypeScript write-up. The utility types (Pick, Omit, Extract, Exclude) are underrated β proper use of conditional types can eliminate a lot of boilerplate while maintaining type safety.
Nice TypeScript patterns. Side note: we shipped 12 AI tools under tools.shopveigo.com using strict TS end-to-end. The discriminated union pattern you mentioned was key for our API routing.
I tried , its amazing ! but more amazing to see that you have not missed any commit on GitHub from 6th Jan 2025 ! Amazing consistency
Thanks for trying DSA View View! Iβm really happy to hear that πΈ
I traveled around Europe, and after that I realized that consistency is one of the most important things in life.
So I try to keep developing something every day as much as I can π