Solutions to frequently asked Interview questions (Code written mostly in C++)