To help with programming interview questions (C++)