Problem:-https://www.spoj.com/problems/NICEDAY/ I need some hints to solve this questions , using “segment tree”. Thanks for helping in advance.