Top coder solutions