This is all the  leetcode implemented by python