Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package de.Classes;
- public class SchrittweiteHeapSort extends Array {
- static HeapSort mySort03 = new HeapSort();
- int sort04(int h) {
- /*int hi = zahl.length - 1;
- int hmax;
- for (hmax = 1; hmax < hi; hmax = 3 * hmax + 1)
- for (h = hmax / 3; h > 0; h = h / 3)*/
- mySort03.sort03(h=5);
- mySort03.sort03(h=3);
- mySort03.sort03(h=1);
- return h;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement