We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1b1d4a commit 4c51c59Copy full SHA for 4c51c59
src/main/java/com/thealgorithms/sorts/PriorityQueueSort.java
@@ -18,10 +18,10 @@
18
*
19
* @see <a href="https://en.wikipedia.org/wiki/Heap_(data_structure)">Heap / PriorityQueue</a>
20
*/
21
-public class PriorityQueueSort {
+public final class PriorityQueueSort {
22
23
// Private constructor to prevent instantiation (utility class)
24
- private PriorityQueueSort() {}
+ private PriorityQueueSort() { }
25
26
/**
27
* Sorts the given array in ascending order using a PriorityQueue.
0 commit comments