Skip to content

[FEATURE]: Add PowerSort algorithm under Sorts #2042

Backlog

Description

@backend-glitch

Motivation

Description

I would like to implement PowerSort in JavaScript (Sorts/PowerSort.js) along with unit tests (Sorts/test/PowerSort.test.js).

PowerSort is a modern, stable, adaptive hybrid sorting algorithm that improves upon Timsort merge policy by using node powers to build a near-optimal merge tree in $O(n \log n)$ worst-case and $O(n)$ best-case time.

Checklist

  • I have checked that this algorithm does not already exist in the repository or open PRs.
  • I will implement this in JavaScript following the repository's coding standards and include Vitest unit tests.
  • Please assign this issue to me so I can submit a PR.

Examples

No response

Possible workarounds

No response

Additional information

No response

Activity

  1. YAKSHITH-1 commented on Nov 28, 2026

    @YAKSHITH-1

    Hi @backend-glitch,

    I would like to work on this issue and implement the PowerSort algorithm in JavaScript, along with comprehensive Vitest unit tests.

    Could you please assign this issue to me?

    Thank you!

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions