The MOST powerful way to solve coding algorithms (any LeetCode problems involving arrays)

11 Dec 2024 · 24 min
23:49

YouTube tutorial by Phil Choi demonstrating how to use JavaScript's Array.prototype.reduce to solve algorithmic interview problems (Advent of Code examples). Phil explains reduce's accumulator/current pattern, shows parsing input lines into left/right lists, computes checksum (difference between minima) and a frequency-based similarity score, and argues reduce can replace map/filter/forEach in many cases. Informal, example-driven, with runtime demos and debugging.

Chapters

More from Phil

youtube.com

How to Get Hired as a Software Engineer in 2025 (The ONE project rule)

1y ago
youtube.com

How to Stand Out In Tech in 2025 with Domain Knowledge (Stop Just Coding)

1y ago
youtube.com

day in the life of a software engineer | 5 hour productivity | building my dev agency 🔥

1y ago
youtube.com

I was a failure in tech until THIS happened

1y ago
youtube.com

day in the life of a software engineer | 3 hour productivity | coding my 6-figure community startup

1y ago
youtube.com

IT SUCKS but this made me $300k/year in tech EASY

1y ago
youtube.com

day in the life of a software engineer | 5 hour productivity | coding our sns startup app LFG

1y ago
youtube.com

Your First AI Agent in 20 minutes (Real World Use Cases)

1y ago
youtube.com

Is it possible to break into tech in less than 135 days?

1y ago
youtube.com

day in the life of a software engineer | 5 hour productivity | creating apps that makes big money

1y ago
youtube.com

How I Would Learn JavaScript If I Could Start Over

1y ago
See all content