Search:

Type: Posts; User: ChristopherLowe

Search: Search took 0.09 seconds.

  1. Replies
    14
    Views
    1,275

    Re: Array Problem

    Basically there is a logical problem in the flow of execution. Let me break it down with pseudocode.



    for each element in the array
    if element is less than or equal to the next element
    ...
  2. Replies
    14
    Views
    1,275

    Re: Array Problem

    So why does {3, 2} return false while {1, 3, 2} return true? What happens when the loop runs the first time?
  3. Replies
    14
    Views
    1,275

    Re: Array Problem

    What do you get when you try this:

    scoresIncreasing({3, 2})
Results 1 to 3 of 3