Modified leetcode_3Sum.java & leetcode_Valid_Number.java