Skip to content

Implement sort algorithm in olal #28

Description

@MeierTobias

To ensure that the reservation with the most seats is processed first, a sorting algorithm should be implemented. It's not necessary for the optimization logic but it increases the chance that all the group members are able to sit next to each other.
See TODO in olal.c

possible sort algorithms:
Merge sort: https://www.geeksforgeeks.org/merge-sort/
Counting sort: https://www.techiedelight.com/efficiently-sort-array-duplicated-values/

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions