Skip to content

Missing type hints in divide_and_conquer/inversions.py #14252

@llukito

Description

@llukito

What would you like to share?

The functions in divide_and_conquer/inversions.py are currently missing type hints.

Functions needing updates:

  • count_inversions_bf
  • count_inversions_recursive
  • _count_cross_inversions

I would like to add these to improve readability and MyPy compliance.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting triageAwaiting triage from a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions