Hello folks,
I have implemented segment tree in python for this code.
It is running in some cases and for others abort is called in build function ( I checked that by debugging in Pycharm but I couldn't understand why code is misbehaving)
Any help would be appreciated :)