where st , si , ss & se are same as getSumUtil ( ) i -- > index of the element to be updated . This index is in input array . diff -- > Value to be added to all nodes which have i in range
def updateValueUtil ( st : List [ int ] , ss : int , se : int , i : int , diff : int , si : int ) -> None : NEW_LINE