Java 8, 47 bytes, Cracked
p->{for(;p==null||p.isEmpty()||!p.isEmpty(););}
#Java 8, 47 bytes, Cracked
p->{for(;p==null||p.isEmpty()||!p.isEmpty(););}
ThisThis 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.