Рет қаралды 4,115
In this video we are solving a tricky Google interview question: Amount of New Area Painted Each Day (Leetcode # 2158).
On paper this question looks really easy and it's super simple to draw out a solution that works but putting it into code is much harder. There are some solutions out there that deal with Red-Black trees/Segment Trees but on this channel we opt for simpler, easier to understand solutions instead of the esoteric stuff.