Counting the crossing wires in the crossing distribution of circuit wires between two regions,the current algorithms using either linear list or dynamic programming to do so have the time complexity O(n2). In order to reduce the time complexity of the existing algorithms efficiently,a counting algorithm with the time complexity of O( nlogn) using arborescence array is introduced in this paper.Furthermore,all crossing wires of every circuit wire are found with this algorithm. The effectiveness of the algorit...