Algos for IT interviews