Seol an Taifead seo mar Ríomhphost: Extrema property of the k-ranking of directed paths and cycles