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,0,0]=>4
[1,1,0,0,1,1,1,1,0,1,0,1,0,0,0,0]=>6
[1,1,0,0,1,1,1,1,0,1,1,0,0,0,0,0]=>3
[1,1,0,0,1,1,1,1,1,0,0,0,0,0,1,0]=>3
[1,1,0,0,1,1,1,1,1,0,0,0,0,1,0,0]=>3
[1,1,0,0,1,1,1,1,1,0,0,0,1,0,0,0]=>3
[1,1,0,0,1,1,1,1,1,0,0,1,0,0,0,0]=>3
[1,1,0,0,1,1,1,1,1,0,1,0,0,0,0,0]=>4
[1,1,0,0,1,1,1,1,1,1,0,0,0,0,0,0]=>2
[1,1,0,1,0,0,1,0,1,0,1,0,1,0,1,0]=>11
[1,1,0,1,0,0,1,0,1,0,1,0,1,1,0,0]=>8
[1,1,0,1,0,0,1,0,1,0,1,1,0,0,1,0]=>6
[1,1,0,1,0,0,1,0,1,0,1,1,0,1,0,0]=>6
[1,1,0,1,0,0,1,0,1,0,1,1,1,0,0,0]=>6
[1,1,0,1,0,0,1,0,1,1,0,0,1,0,1,0]=>5
[1,1,0,1,0,0,1,0,1,1,0,0,1,1,0,0]=>4
[1,1,0,1,0,0,1,0,1,1,0,1,0,0,1,0]=>4
[1,1,0,1,0,0,1,0,1,1,0,1,0,1,0,0]=>6
[1,1,0,1,0,0,1,0,1,1,0,1,1,0,0,0]=>4
[1,1,0,1,0,0,1,0,1,1,1,0,0,0,1,0]=>4
[1,1,0,1,0,0,1,0,1,1,1,0,0,1,0,0]=>4
[1,1,0,1,0,0,1,0,1,1,1,0,1,0,0,0]=>4
[1,1,0,1,0,0,1,0,1,1,1,1,0,0,0,0]=>4
[1,1,0,1,0,0,1,1,0,0,1,0,1,0,1,0]=>7
search for individual values
searching the database for the individual values of this statistic
/
search for generating function
searching the database for statistics with the same generating function
Description
The length of the longest zigzag subpath.
This is the length of the longest consecutive subpath that is a zigzag of the form $010...$ or of the form $101...$.
This is the length of the longest consecutive subpath that is a zigzag of the form $010...$ or of the form $101...$.
Code
# This code was copied from https://codereview.stackexchange.com/questions/164326
def zigzags(input):
input = iter(input)
stack = None
try:
stack = [next(input)]
while True:
if len(stack) < 2:
stack.append(next(input))
else:
stack = stack[-2:]
a, b = stack
if a == b:
yield (a,)
stack = [b]
continue
zig = a > b
while True:
prev = stack[-1]
this = next(input)
if prev == this or zig == (prev > this):
break
stack.append(this)
zig = not zig
yield tuple(stack)
stack.append(this)
except StopIteration:
pass
if stack:
yield tuple(stack)
def zigzag(input):
item = max(zigzags(input), key=len)
return len(item)
def statistic(x):
return(zigzag(list(x)))
Created
Sep 12, 2017 at 16:29 by Christian Stump
Updated
Feb 11, 2026 at 16:46 by Nupur Jain
searching the database
Sorry, this statistic was not found in the database
or
add this statistic to the database – it's very simple and we need your support!