add algorithm in leetcode