Some algorithms used in interviewing questions.