非常感谢hi every oneif i have two list<string>for examplelist: list1a,b,c,d,d,v,b,aandlist: list2a,b,dhow can i find index of element list2 in list1i mean the result is 0,1,3,4,6,7note:my first list contains at lest 500000 elementand second list about 3000 elementso i problem is timethanks to all very much推荐答案 hi, 对于所有类型的排序都要通过此链接。 点击此处进行排序 [ ^ ] 您可以对两个列表中的项目进行排序(跟踪其原始位置)加快搜索速度。You may sort the items of both the lists (keeping track of their original position) to speed up the search. hi, 所有这些元素都在数据库中或某些文件? 如果数据库使用JOINS ... 如果文件插入数据库然后使用JOINS ...... Are all these elements in database or some files?if database use JOINS...If files insert into database and then use JOINS... 这篇关于列表,重复项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!
10-18 18:46