mzhang2021 / cp-blog

MIT License
11 stars 2 forks source link

cp-blog/perspective/ #9

Open utterances-bot opened 2 years ago

utterances-bot commented 2 years ago

A Shift in Perspective | Yet Another Competitive Programming Blog

I’ve seen numerous problems recently where the solution comes from a shift in perspective, and I’ve found them amusing enough to write a whole blog around this topic. I wouldn’t consider this a technique but rather just an explanation of visual intuition for problem solving.

https://mzhang2021.github.io/cp-blog/perspective/

czhang2718 commented 2 years ago

cool, I've never thought about intersecting intervals in terms of 2d points and the upper left rectangle of (r, l)