leetcode202快乐数(JAVA)(hashset)

class Solution { public boolean isHappy(int n) { if(n==1||n==-1) return true; HashSet<Integer>h=new HashSet<Integer>(); int m=0; while
相关文章
相关标签/搜索