Attempt to solve top coder questions