Implementation for programming interview question problems.