question bitonic sequence
Posted
by davit-datuashvili
on Stack Overflow
See other posts from Stack Overflow
or by davit-datuashvili
Published on 2010-06-12T14:46:04Z
Indexed on
2010/06/12
14:52 UTC
Read the original article
Hit count: 285
algorithm
A sequence is bitonic if it monotonically increases and then monotonically de-
creases, or if it can be circularly shifted to monotonically increase and then
monotonically decrease. For example the sequences 1, 4, 6, 8, 3, -2 ,
9, 2, -4, -10, -5 , and 1, 2, 3, 4 are bitonic, but 1, 3, 12, 4, 2, 10 is not
bitonic.
please help me to determine if given sequence is bitonic?
© Stack Overflow or respective owner