Skip to content

Improve with Insertion Sort #7

Description

@c910335

In a divide-and-conquer algorithm, it is advisable to use a simpler algorithm when subproblems become small enough, since the constant factor in a divide-and-conquer algorithm is usually larger than a simpler one.

As for the algorithm we implemented, it can be improved by using insertion sort when the number of points becomes sufficiently small.

@scps940707 @sifmelcara @chuanchan1116 @david50407 @firejox
Please improve your implements if it is convenient to you.
For your reference, improve cpp with insertion sort.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions