Leet code task