Algorithm Challenges - Set 1