Skip to content

Time complexity for fraction-search-algorithm #1066

@Aeren1564

Description

@Aeren1564

The algorithm described in https://cp-algorithms.com/others/stern_brocot_tree_farey_sequences.html#fraction-search-algorithm works in linear quadratic time in numerator+denominator, but the article claims that it is a "binary search algorithm".

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy