diff options
author | RossTheRoss <msattr@gmail.com> | 2019-11-24 16:00:55 -0600 |
---|---|---|
committer | RossTheRoss <msattr@gmail.com> | 2019-11-24 16:00:55 -0600 |
commit | fe14f21ab6b3bf886da8ca8acfbaffd740ba5079 (patch) | |
tree | 6e6ea45a790a2ee38dc82379f9fad07b063c5025 /csci1913/Java/project2_strap012.java | |
parent | Basically steal someone else's code lol (diff) | |
download | homework-fe14f21ab6b3bf886da8ca8acfbaffd740ba5079.tar homework-fe14f21ab6b3bf886da8ca8acfbaffd740ba5079.tar.gz homework-fe14f21ab6b3bf886da8ca8acfbaffd740ba5079.tar.bz2 homework-fe14f21ab6b3bf886da8ca8acfbaffd740ba5079.tar.lz homework-fe14f21ab6b3bf886da8ca8acfbaffd740ba5079.tar.xz homework-fe14f21ab6b3bf886da8ca8acfbaffd740ba5079.tar.zst homework-fe14f21ab6b3bf886da8ca8acfbaffd740ba5079.zip |
I've done nothing send help
Diffstat (limited to 'csci1913/Java/project2_strap012.java')
-rw-r--r-- | csci1913/Java/project2_strap012.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/csci1913/Java/project2_strap012.java b/csci1913/Java/project2_strap012.java index a102314..625d44c 100644 --- a/csci1913/Java/project2_strap012.java +++ b/csci1913/Java/project2_strap012.java @@ -78,7 +78,19 @@ class Sort { } left = sortNodes(left); right = sortNodes(right); + //Combining phase + while (left != null && right != null) { + if (left.number > right.number) { + + } else { + } + } + if (left == null) { + sorted.next=right; + } else { + sorted.next=left; + } return sorted; } |