Add algorithm in leetcode