leet code solution python version