Fibanocci, refactoring and brain teasers solutions