What is hi-lo-hi?

Posted by HollerTrain on Stack Overflow See other posts from Stack Overflow or by HollerTrain
Published on 2010-03-11T20:41:24Z Indexed on 2010/03/11 20:44 UTC
Read the original article Hit count: 342

Filed under:

I have a project in C but have no clue what 'hi-lo-hi' is:

The function is to count how many occurrences of hi – lo – hi in an array. For example, given the target array of 0 7 4 3 5 2 1 6, there are two occurrences. So the function would return the value of 2.

Any help would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about c