Skip to main content
2 of 4
added 95 characters in body
Socratic Phoenix
  • 1.7k
  • 1
  • 11
  • 26

#Java 8, 47 bytes p->{for(;p==null||p.isEmpty()||!p.isEmpty(););} This is a lambda of type Consumer<List>. Basically, it will run as long as the list is null, empty, or non-empty... The answer to this one is pretty simple, I'll try and come up with a truly difficult one for my next answer :)

Try it online! (Note, you will have to edit in the input in the function call in the footer)

Just FYI, the intended solution terminates in ~3 seconds (including compilation), so it should be crackable on TIO.

Socratic Phoenix
  • 1.7k
  • 1
  • 11
  • 26