Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a224b49d8ed6a0ea

Jump to content

Talk:YDS algorithm

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia

Recursive?

[edit]

Wondering why the article refers to the algorithm as "recursive"? It seems to me, from the overview, that it's an iterative algorithm (i.e. perform these steps, then continue performing these steps until finish). Anyone agree/disagree?

Complexity

[edit]

The time complexity of this should probably be included in the article. However, I'm not sure what the complexity is. Naively, this algorithm can be performed in O(n^3). According to the referenced paper, the citation states that the algorithm can be performed in O(n^2 logn), but from looking at the paper that includes that result, it seems like the O(n^2 logn) result is not for YDS, but a different algorithm that solves the problem.