These are just some solutions to coding problems I've seen while interviewing. Here both for my reference, for others, and as some sample code for people looking for that.