Skip to content

Commit 7358bba

Browse files
committed
Fix
1 parent 575ce6d commit 7358bba

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/com/thealgorithms/datastructures/heaps

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/datastructures/heaps/MaxHeap.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
* 3. Root contains the maximum element
1515
*
1616
* Example usage:
17-
* ```java
17+
* <pre>
1818
* List<HeapElement> elements = Arrays.asList(
1919
* new HeapElement(5, "Five"),
2020
* new HeapElement(2, "Two")
2121
* );
2222
* MaxHeap heap = new MaxHeap(elements);
2323
* heap.insertElement(new HeapElement(7, "Seven"));
2424
* HeapElement max = heap.getElement(); // Returns and removes the maximum element
25-
* ```
25+
* </pre>
2626
*
2727
* @author Nicolas Renard
2828
*/

0 commit comments

Comments
 (0)