Skip to content

[BUG] wrong output given by sorting/bitonic_sort.cpp #870

@ayaankhan98

Description

@ayaankhan98

program when tested with input array

int a[] = {-10, 78, -1, -6, 7, 4, 94, 5, 99, 0};

produces a output of

Sorted array: 
-10 -6 -1 4 0 5 78 94 99 7 

which is wrong

Expected Behavior

Expected a correct sorted array

Actual Behavior

Showing wrong output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions