結果 : leetcode if else problems java