请问一个算法的问题
a = { 1,3,1,3,5}
b = {}
用循环判断出 数组里重复的数据 把不重复的添加到b
我暂时想到的是 for i as integer = 0 to a.count - 1
for c as integer = 0 to a.count -1
next c
next i
但是这中间应该怎么来选出不重复的呢 {1,3 ,5 }呢
b = {}
用循环判断出 数组里重复的数据 把不重复的添加到b
我暂时想到的是 for i as integer = 0 to a.count - 1
for c as integer = 0 to a.count -1
next c
next i
但是这中间应该怎么来选出不重复的呢 {1,3 ,5 }呢