A Set Intersection Algorithm Via x-Fast Trie

Bangyu Ye
2016 Journal of Computers  
This paper proposes a simple intersection algorithm for two sorted integer sequences . Our algorithm is designed based on x-fast trie since it provides efficient find and successor operators. We present that our algorithm outperforms skip list based algorithm when one of the sets to be intersected is relatively 'dense' while the other one is (relatively) 'sparse'. Finally, we propose some possible approaches which may optimize our algorithm further.
doi:10.17706/jcp.11.2.91-98 fatcat:cmmb6kkskfgrjivw2xgz5kw54u