Name: Eks 2007-10-03 14:53
Hey all! I need an algorithm to identify whether the boolean function(that is given like this 01011001) is monotonic(monotone)!
print "fucking monotone" if "01011001" =~ /^(.)\1*(.)?\2*$/