Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defined wrong class object name in Java/Misc/HeapSort.java file #1704

Closed
eunbeek opened this issue Oct 9, 2020 · 2 comments
Closed

Defined wrong class object name in Java/Misc/HeapSort.java file #1704

eunbeek opened this issue Oct 9, 2020 · 2 comments
Labels

Comments

@eunbeek
Copy link

eunbeek commented Oct 9, 2020

When I run this repository, I figure out this small bug.

Can I add a small change like below?

public class HeapSort {
// Driver program
public static void main(String args[]) {
int arr[] = {12, 11, 13, 5, 6, 7};

    **heap_sort ob = new heap_sort();**
    ob.sort(arr);

    System.out.println("Sorted array is");
    printArray(arr);
}

}

@eunbeek eunbeek changed the title Defining wrong class object name in Java/Misc/HeapSort.java file Defined wrong class object name in Java/Misc/HeapSort.java file Oct 9, 2020
@stale
Copy link

stale bot commented Mar 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Mar 20, 2021
@stale
Copy link

stale bot commented Jul 1, 2021

Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions!

@stale stale bot closed this as completed Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant