Search:

Type: Posts; User: javapenguin

Search: Search took 0.07 seconds.

  1. Replies
    5
    Views
    1,247

    Poll: [SOLVED] Re: Update on "Sorting and Merging"

    Anybody there?
  2. Replies
    5
    Views
    1,247

    Poll: [SOLVED] Re: Update on "Sorting and Merging"

    Almost there

    package sorting;

    import java.util.Arrays;
    import java.util.Scanner;

    public class Merge
    {
  3. Replies
    5
    Views
    1,247

    Poll: [SOLVED] Re: Update on "Sorting and Merging"

    Hey, I found part of the problem.

    But why is it copying the value at index 0 of each array into index 1 whenever I use mergesort?

    package sorting;

    import java.util.Arrays;
    import...
  4. Replies
    5
    Views
    1,247

    Poll: [SOLVED] Re: Update on "Sorting and Merging"

    Also, why is it going in decreasing order?
  5. Replies
    5
    Views
    1,247

    Poll: [SOLVED] Re: Update on "Sorting and Merging"

    Enter the number of elements in the first array.
    1
    Enter the value at index 0
    -50
    Enter the number of elements in the second array.
    2
    Enter the value at index 0
    0
    Enter the value at index 1...
  6. Replies
    5
    Views
    1,247

    Poll: [SOLVED] Update on "Sorting and Merging"

    I've gotten the code to slightly work better, though it's not doing what it's supposed to still.

    Also, I have no clue how to call the sort(int[] A) method, which appears to just supposed to call...
Results 1 to 6 of 6