Persistent Segment Trees Spoj Mkthnum Gaurav Sen