Skip to content

Ryannally91/zigzag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Given a list of integers, determine if each three consecutive numbers constitute a zig-zag as define by a < b > c, or a > b < c. return a list containing 1 if the pattern was a zigzag or 0 if there was not.

About

Given a list of integers, determine if each three consecutive numbers constitute a zig-zag as define by a < b > c, or a > b < c. return a list containing 1 if the pattern was a zigzag or 0 if there was not.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages