algorthims

  1. T

    algorthims

    i need to verify that the following algorthims works on the list 2, 3,6,2,6 Begin input x_1 x_2...x_n count := 0 for i:= 2 to n do begin for j:=1 to (i-1) do begin if x_i = x_j then begin count := count +1...