Coding interview hack: if you have two pointers, l and r, the number of elements between them looks like a sleepy cat.


For people who still don't see the sleepy cat


Some people couldn't see it at all, who knew this is the true Schrödinger's cat.