Skip to content

Conversation

@54shady
Copy link
Contributor

@54shady 54shady commented Feb 19, 2019

Data Sorted
Shell Sort Big O Notation:
--> Best Case: O(n log(n))
--> Average Case: depends on gap sequence
--> Worst Case: O(n)

Time spent sorting: 0.000006
*** stack smashing detected ***: <unknown> terminated
Aborted

@54shady 54shady changed the title BugFix : call srand before generate rand number BugFix : loop out of range cause the stack smashing Feb 19, 2019
@54shady 54shady closed this Feb 19, 2019
    Data Sorted
    Shell Sort Big O Notation:
    --> Best Case: O(n log(n))
    --> Average Case: depends on gap sequence
    --> Worst Case: O(n)

    Time spent sorting: 0.000006
    *** stack smashing detected ***: <unknown> terminated
    Aborted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant