Fun algorithms usually used for interviews