Return no . of perfect square numbers in range from index qs ( query start ) to qe ( query end ) . It mainly uses queryUtil ( )
def query ( st : List [ int ] , n : int , qs : int , qe : int ) -> None : NEW_LINE INDENT perfectSquareInRange = queryUtil ( st , 0 , n - 1 , qs , qe , 0 ) NEW_LINE print ( perfectSquareInRange ) NEW_LINE DEDENT