Skip to content

Cookiemonster Issue #2

@Berabjesus

Description

@Berabjesus

Great start guys

    1. The following string array is not being sorted though.
arr = ["hi", "Cookiemonstersissue", "quickbrownfox"]

   def bubble_sort_by(arr)

The above method is not sorting the string array.

    1. When the array is already sorted, there is no need to go through the elements and the method should break out if everything is sorted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions