“…Blum, Floyd, Pratt, Rivest, and Tarjan [2] gave an optimal O(n) time deterministic algorithm. The density selection problem such that k is equal to the total number of feasible segments is exactly the extensively studied maximum-density segment problem [4,10,12,14,15,18,20] which arises from the problem of finding the biologically meaningful region, called the most GC-ratio region, in a DNA sequence. When we let the input sequence A = (a 1 , w 1 ), (a 2 , w 2 ), .…”