my solutions when preparing for interview with exercises from ctci....