Recent posts

LeetCode 2251. Number of Flowers in Full Bloom

周賽290。其實很簡單的題目,只是我看到寬度10^9又有range update,就跑去搞線段樹,好不容易弄出來又TLE,沒有好好把握住這次機會。 周賽結束後改成前綴和5分鐘就寫完了,好可惜。