10 3 both the proposed algorithms perform on the erew pram in o log n log n time using o n work time processor product