Рет қаралды 1,754
Channel Discord Community: / discord
Problem Link: leetcode.com/problems/best-me...
Today we are solving a problem that is really quite bad... There's a pretty intuitive solution to this problem and then there's a really hacky, math based approach where if you've seen it before then it's really easy otherwise it's one you likely won't come up with on your own.
TIMESTAMPS
00:00 Intro
00:07 Question Prompt
00:35 Naive Solution Approach
02:40 Solution Intuition
06:39 Coding
14:40 Time/Space Complexity
16:40 Outro Ramble