Advertisement
Guest User

Untitled

a guest
May 26th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.38 KB | None | 0 0
  1. package de.Classes;
  2.  
  3. public class SchrittweiteHeapSort extends Array {
  4.  
  5.     static HeapSort mySort03 = new HeapSort();
  6.    
  7.     int sort04(int h) {
  8.         /*int hi = zahl.length - 1;
  9.         int hmax;
  10.         for (hmax = 1; hmax < hi; hmax = 3 * hmax + 1)
  11.             for (h = hmax / 3; h > 0; h = h / 3)*/
  12.                
  13.         mySort03.sort03(h=5);
  14.         mySort03.sort03(h=3);
  15.         mySort03.sort03(h=1);
  16.         return h;
  17.  
  18.     }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement