This pseudo-code seems to be with only one pass no ? Can someone find a counter-example ? overall_max=0 index_of_overall_max=0 Second_max=0 index_of_second_max=0 Array_of_cumulated_Sum=0 Total=0 for i from left to right…
9km/h is slow :-P !
This pseudo-code seems to be with only one pass no ? Can someone find a counter-example ? overall_max=0 index_of_overall_max=0 Second_max=0 index_of_second_max=0 Array_of_cumulated_Sum=0 Total=0 for i from left to right…
9km/h is slow :-P !