bunch of miscellaneous interview coding problems I've encountered