Can Someone find the edge case that my code false?

Please either format your code or (better!) link to your submission - the forum software has mangled it and it won’t compile! :slight_smile:

Edit:

Does this really need two threads?