摘要:
leetcode #14. 最长公共前缀 class Solution { public String longestCommonPrefix(String[] strs) { int length = strs.length; if(length == 0){ return ""; } // 记录 阅读全文
posted @ 2020-08-02 12:18
cnblogs_z_s
阅读(79)
评论(0)
推荐(0)
摘要:
leetcode #7. 整数反转 class Solution { public int reverse(int x) { boolean isNegative = false; if(x < 0){ isNegative = true; } int ans = 0; while(x != 0){ 阅读全文
posted @ 2020-08-02 11:34
cnblogs_z_s
阅读(126)
评论(0)
推荐(0)

浙公网安备 33010602011771号